aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/ssl_ciph.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2014-12-16 10:53:36 +0000
committerMatt Caswell <matt@openssl.org>2014-12-16 14:14:09 +0000
commitdb812f2d70f0695fd53b386fe5e870bef8ca3c22 (patch)
treeef73844d36dd90db23b19b7c904de70e1e4cd0ab /ssl/ssl_ciph.c
parentad500fdc494cc8b988b567371eef60824a78b070 (diff)
downloadopenssl-db812f2d70f0695fd53b386fe5e870bef8ca3c22.tar.gz
Add more meaningful OPENSSL_NO_ECDH error message for suite b mode
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'ssl/ssl_ciph.c')
-rw-r--r--ssl/ssl_ciph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c
index 60e5772639..4a673ec0d5 100644
--- a/ssl/ssl_ciph.c
+++ b/ssl/ssl_ciph.c
@@ -1456,7 +1456,7 @@ static int check_suiteb_cipher_list(const SSL_METHOD *meth, CERT *c,
c->ecdh_tmp_auto = 1;
return 1;
#else
- SSLerr(SSL_F_CHECK_SUITEB_CIPHER_LIST, SSL_R_UNABLE_TO_FIND_ECDH_PARAMETERS);
+ SSLerr(SSL_F_CHECK_SUITEB_CIPHER_LIST, SSL_R_ECDH_REQUIRED_FOR_SUITEB_MODE);
return 0;
#endif
}