diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-08-31 11:18:54 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-08-31 11:18:54 +0000 |
commit | d47c01a31a67ff4370b1883a58cabd0279752bb4 (patch) | |
tree | f4a20b85fe78d1b17263a3b2455d8fac76bd98be /ssl/ssl_err.c | |
parent | ef6b34bec2adf7d62a91cb8901252bd95301a3d5 (diff) |
perform sanity checks on server certificate type as soon as it is received instead of waiting until server key exchange
Diffstat (limited to 'ssl/ssl_err.c')
-rw-r--r-- | ssl/ssl_err.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index 119a43c6a5..a816af0775 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -607,6 +607,7 @@ static ERR_STRING_DATA SSL_str_reasons[]= {ERR_REASON(SSL_R_UNSUPPORTED_STATUS_TYPE),"unsupported status type"}, {ERR_REASON(SSL_R_USE_SRTP_NOT_NEGOTIATED),"use srtp not negotiated"}, {ERR_REASON(SSL_R_WRITE_BIO_NOT_SET) ,"write bio not set"}, +{ERR_REASON(SSL_R_WRONG_CERTIFICATE_TYPE),"wrong certificate type"}, {ERR_REASON(SSL_R_WRONG_CIPHER_RETURNED) ,"wrong cipher returned"}, {ERR_REASON(SSL_R_WRONG_CURVE) ,"wrong curve"}, {ERR_REASON(SSL_R_WRONG_MESSAGE_TYPE) ,"wrong message type"}, |