diff options
author | Bodo Möller <bodo@openssl.org> | 2005-04-26 18:53:22 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2005-04-26 18:53:22 +0000 |
commit | aa4ce7315f65fdf8940d5bc9e562aa478f0335d3 (patch) | |
tree | 204f2143da41bd1cdff17503baeab94ea58d4e89 /ssl/ssl_lib.c | |
parent | c741b83762a9f318d515f32624caab6aedf8d2c5 (diff) |
Fix various incorrect error function codes.
("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index fbcfc527cc..b504c2cea2 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -866,7 +866,7 @@ int SSL_peek(SSL *s,void *buf,int num) { if (s->handshake_func == 0) { - SSLerr(SSL_F_SSL_READ, SSL_R_UNINITIALIZED); + SSLerr(SSL_F_SSL_PEEK, SSL_R_UNINITIALIZED); return -1; } |