提交 ff712220 编写于 作者: B Bodo Möller

And I thought I could spell ... but in caps really everything looks the same.

Submitted by:
Reviewed by:
PR:
上级 b31b04d9
...@@ -1402,7 +1402,7 @@ int SSL_COMP_add_compression_method(int id,char *cm); ...@@ -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_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES 243
#define SSL_R_UNEXPECTED_MESSAGE 244 #define SSL_R_UNEXPECTED_MESSAGE 244
#define SSL_R_UNEXPECTED_RECORD 245 #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_ALERT_TYPE 246
#define SSL_R_UNKNOWN_CERTIFICATE_TYPE 247 #define SSL_R_UNKNOWN_CERTIFICATE_TYPE 247
#define SSL_R_UNKNOWN_CIPHER_RETURNED 248 #define SSL_R_UNKNOWN_CIPHER_RETURNED 248
......
...@@ -368,7 +368,7 @@ static ERR_STRING_DATA SSL_str_reasons[]= ...@@ -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_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES ,"unable to load ssl3 sha1 routines"},
{SSL_R_UNEXPECTED_MESSAGE ,"unexpected message"}, {SSL_R_UNEXPECTED_MESSAGE ,"unexpected message"},
{SSL_R_UNEXPECTED_RECORD ,"unexpected record"}, {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_ALERT_TYPE ,"unknown alert type"},
{SSL_R_UNKNOWN_CERTIFICATE_TYPE ,"unknown certificate type"}, {SSL_R_UNKNOWN_CERTIFICATE_TYPE ,"unknown certificate type"},
{SSL_R_UNKNOWN_CIPHER_RETURNED ,"unknown cipher returned"}, {SSL_R_UNKNOWN_CIPHER_RETURNED ,"unknown cipher returned"},
......
...@@ -617,7 +617,7 @@ int SSL_read(SSL *s,char *buf,int num) ...@@ -617,7 +617,7 @@ int SSL_read(SSL *s,char *buf,int num)
{ {
if (s->handshake_func == 0) if (s->handshake_func == 0)
{ {
SSLerr(SSL_F_SSL_READ, SSL_R_UNITIALIZED); SSLerr(SSL_F_SSL_READ, SSL_R_UNINITIALIZED);
return -1; return -1;
} }
...@@ -642,7 +642,7 @@ int SSL_write(SSL *s,const char *buf,int num) ...@@ -642,7 +642,7 @@ int SSL_write(SSL *s,const char *buf,int num)
{ {
if (s->handshake_func == 0) if (s->handshake_func == 0)
{ {
SSLerr(SSL_F_SSL_WRITE, SSL_R_UNITIALIZED); SSLerr(SSL_F_SSL_WRITE, SSL_R_UNINITIALIZED);
return -1; return -1;
} }
...@@ -659,7 +659,7 @@ int SSL_shutdown(SSL *s) ...@@ -659,7 +659,7 @@ int SSL_shutdown(SSL *s)
{ {
if (s->handshake_func == 0) if (s->handshake_func == 0)
{ {
SSLerr(SSL_F_SSL_SHUTDOWN, SSL_R_UNITIALIZED); SSLerr(SSL_F_SSL_SHUTDOWN, SSL_R_UNINITIALIZED);
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册