Fix various incorrect error function codes.

("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)
This commit is contained in:
Bodo Möller
2005-04-26 18:53:22 +00:00
parent c741b83762
commit aa4ce7315f
49 changed files with 111 additions and 85 deletions

View File

@@ -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;
}