diff --git a/ssl/ssl.h b/ssl/ssl.h index 347d08777478c202b1776e33ba4b228c05fab837..e8d74413446fa195119e47aa7dcc47b016eb7b5f 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h @@ -1402,7 +1402,7 @@ int SSL_COMP_add_compression_method(int id,char *cm); #define SSL_R_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES 243 #define SSL_R_UNEXPECTED_MESSAGE 244 #define SSL_R_UNEXPECTED_RECORD 245 -#define SSL_R_UNITIALIZED 275 +#define SSL_R_UNINITIALIZED 276 #define SSL_R_UNKNOWN_ALERT_TYPE 246 #define SSL_R_UNKNOWN_CERTIFICATE_TYPE 247 #define SSL_R_UNKNOWN_CIPHER_RETURNED 248 diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index 6f99f4cbbb02ed807738099d14aeea40d00e379a..1f3bf15b6215d0b617c723001f591b502d4ce8fd 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -368,7 +368,7 @@ static ERR_STRING_DATA SSL_str_reasons[]= {SSL_R_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES ,"unable to load ssl3 sha1 routines"}, {SSL_R_UNEXPECTED_MESSAGE ,"unexpected message"}, {SSL_R_UNEXPECTED_RECORD ,"unexpected record"}, -{SSL_R_UNITIALIZED ,"unitialized"}, +{SSL_R_UNINITIALIZED ,"uninitialized"}, {SSL_R_UNKNOWN_ALERT_TYPE ,"unknown alert type"}, {SSL_R_UNKNOWN_CERTIFICATE_TYPE ,"unknown certificate type"}, {SSL_R_UNKNOWN_CIPHER_RETURNED ,"unknown cipher returned"}, diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 8aba87433fd22759f90416553cf89514d2017495..18564170cc423c8a7a6ac754d3997615c8a90767 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -617,7 +617,7 @@ int SSL_read(SSL *s,char *buf,int num) { if (s->handshake_func == 0) { - SSLerr(SSL_F_SSL_READ, SSL_R_UNITIALIZED); + SSLerr(SSL_F_SSL_READ, SSL_R_UNINITIALIZED); return -1; } @@ -642,7 +642,7 @@ int SSL_write(SSL *s,const char *buf,int num) { if (s->handshake_func == 0) { - SSLerr(SSL_F_SSL_WRITE, SSL_R_UNITIALIZED); + SSLerr(SSL_F_SSL_WRITE, SSL_R_UNINITIALIZED); return -1; } @@ -659,7 +659,7 @@ int SSL_shutdown(SSL *s) { if (s->handshake_func == 0) { - SSLerr(SSL_F_SSL_SHUTDOWN, SSL_R_UNITIALIZED); + SSLerr(SSL_F_SSL_SHUTDOWN, SSL_R_UNINITIALIZED); return -1; }