diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-12-26 16:18:15 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-12-26 16:18:15 +0000 |
commit | 79dcae32efbd48b79345d0ac7b63820eb8090530 (patch) | |
tree | 3a007796c4c0d9b2e453ff3d5a32bef55578d566 /ssl/ssl_err.c | |
parent | ccf6a19e2d825f4039163393023bd15670aee946 (diff) |
give more meaningful error if presented with wrong certificate type by server
(backport from HEAD)
Diffstat (limited to 'ssl/ssl_err.c')
-rw-r--r-- | ssl/ssl_err.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index da667ccc65..d3c8bdea72 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -432,6 +432,8 @@ static ERR_STRING_DATA SSL_str_reasons[]= {ERR_REASON(SSL_R_MISSING_DH_KEY) ,"missing dh key"}, {ERR_REASON(SSL_R_MISSING_DH_RSA_CERT) ,"missing dh rsa cert"}, {ERR_REASON(SSL_R_MISSING_DSA_SIGNING_CERT),"missing dsa signing cert"}, +{ERR_REASON(SSL_R_MISSING_ECDH_CERT) ,"missing ecdh cert"}, +{ERR_REASON(SSL_R_MISSING_ECDSA_SIGNING_CERT),"missing ecdsa signing cert"}, {ERR_REASON(SSL_R_MISSING_EXPORT_TMP_DH_KEY),"missing export tmp dh key"}, {ERR_REASON(SSL_R_MISSING_EXPORT_TMP_RSA_KEY),"missing export tmp rsa key"}, {ERR_REASON(SSL_R_MISSING_RSA_CERTIFICATE),"missing rsa certificate"}, |