diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-03-16 16:55:12 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-03-16 16:55:12 +0000 |
commit | 3393e0c02caa3a6541ac028179025eba6a55f9d5 (patch) | |
tree | 1384b717b106018a951ae64eaddc5c11518efa58 /ssl/s3_srvr.c | |
parent | a149b2466e8adb97b1fe855d189bac58d3b654dd (diff) |
Fix SRP error codes (from HEAD).
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r-- | ssl/s3_srvr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 758f090a87..a0d09e02a8 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -364,7 +364,7 @@ int ssl3_accept(SSL *s) break; } ret = -1; - SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO,SSL_R_CLIENTHELLO_TLSEXT); + SSLerr(SSL_F_SSL3_ACCEPT,SSL_R_CLIENTHELLO_TLSEXT); goto end; } #endif @@ -2683,12 +2683,12 @@ int ssl3_get_client_key_exchange(SSL *s) if (param_len > n) { al=SSL_AD_DECODE_ERROR; - SSLerr(SSL_F_SSL3_GET_KEY_EXCHANGE,SSL_R_BAD_SRP_A_LENGTH); + SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,SSL_R_BAD_SRP_A_LENGTH); goto f_err; } if (!(s->srp_ctx.A=BN_bin2bn(p,i,NULL))) { - SSLerr(SSL_F_SSL3_GET_KEY_EXCHANGE,ERR_R_BN_LIB); + SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,ERR_R_BN_LIB); goto err; } if (s->session->srp_username != NULL) @@ -2703,7 +2703,7 @@ int ssl3_get_client_key_exchange(SSL *s) if ((s->session->master_key_length = SRP_generate_server_master_secret(s,s->session->master_key))<0) { - SSLerr(SSL_F_SSL3_GET_KEY_EXCHANGE,ERR_R_INTERNAL_ERROR); + SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,ERR_R_INTERNAL_ERROR); goto err; } |