From: Dr. Stephen Henson Date: Tue, 22 Dec 2015 16:16:35 +0000 (+0000) Subject: remove unused error code X-Git-Tag: OpenSSL_1_1_0-pre2~174 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e091c83e72d584e077526cac7972e83adc0c18ca;p=oweals%2Fopenssl.git remove unused error code Reviewed-by: Kurt Roeckx Reviewed-by: Rich Salz --- diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index f700828c98..119b50fc0e 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -2176,7 +2176,6 @@ void ERR_load_SSL_strings(void); # define SSL_R_BAD_ECC_CERT 304 # define SSL_R_BAD_ECDSA_SIGNATURE 305 # define SSL_R_BAD_ECPOINT 306 -# define SSL_R_BAD_GOST_SIGNATURE 406 # define SSL_R_BAD_HANDSHAKE_LENGTH 332 # define SSL_R_BAD_HELLO_REQUEST 105 # define SSL_R_BAD_LENGTH 271 diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index c29c36b998..0c40b7b3ec 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -434,7 +434,6 @@ static ERR_STRING_DATA SSL_str_reasons[] = { {ERR_REASON(SSL_R_BAD_ECC_CERT), "bad ecc cert"}, {ERR_REASON(SSL_R_BAD_ECDSA_SIGNATURE), "bad ecdsa signature"}, {ERR_REASON(SSL_R_BAD_ECPOINT), "bad ecpoint"}, - {ERR_REASON(SSL_R_BAD_GOST_SIGNATURE), "bad gost signature"}, {ERR_REASON(SSL_R_BAD_HANDSHAKE_LENGTH), "bad handshake length"}, {ERR_REASON(SSL_R_BAD_HELLO_REQUEST), "bad hello request"}, {ERR_REASON(SSL_R_BAD_LENGTH), "bad length"},