diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-01-07 17:36:17 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-01-07 18:11:27 +0000 |
commit | df70302441a507da88d1761c47e80295247521a8 (patch) | |
tree | a63ce49b6adc13b192ca38cb184e9bcb78490412 /ssl | |
parent | 9c6c664041f8ac0306090e079448f1c4fa41556e (diff) |
fix error discrepancy
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 4a4d4158572fd8b3dc641851b8378e791df7972d)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 2402a06163..3352e2d19a 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -1184,7 +1184,7 @@ int ssl3_get_key_exchange(SSL *s) if (!SSL_C_IS_EXPORT(s->s3->tmp.new_cipher)) { al=SSL_AD_UNEXPECTED_MESSAGE; - SSLerr(SSL_F_SSL3_GET_SERVER_CERTIFICATE,SSL_R_UNEXPECTED_MESSAGE); + SSLerr(SSL_F_SSL3_GET_KEY_EXCHANGE,SSL_R_UNEXPECTED_MESSAGE); goto f_err; } if ((rsa=RSA_new()) == NULL) |