summaryrefslogtreecommitdiffstats
path: root/ssl/s3_clnt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-01-07 18:36:17 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-01-07 19:10:03 +0100
commit4a4d4158572fd8b3dc641851b8378e791df7972d (patch)
tree2f81c44187cf449f5933a40712770de4889db98b /ssl/s3_clnt.c
parentFix irix-cc build. (diff)
downloadopenssl-4a4d4158572fd8b3dc641851b8378e791df7972d.tar.xz
openssl-4a4d4158572fd8b3dc641851b8378e791df7972d.zip
fix error discrepancy
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to '')
-rw-r--r--ssl/s3_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c
index aa9dcbb5b3..ced326b2e7 100644
--- a/ssl/s3_clnt.c
+++ b/ssl/s3_clnt.c
@@ -1640,7 +1640,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)