From: Dr. Stephen Henson Date: Sat, 8 Jul 2017 22:16:09 +0000 (+0100) Subject: make errors X-Git-Tag: OpenSSL_1_1_1-pre1~1058 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=ebefced9045e488bd7b121f7f5ba422a152e4653 make errors Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3858) --- diff --git a/crypto/err/openssl.txt b/crypto/err/openssl.txt index 0f25aaf743..04f48a5a10 100644 --- a/crypto/err/openssl.txt +++ b/crypto/err/openssl.txt @@ -2301,6 +2301,7 @@ SSL_R_MISSING_RSA_CERTIFICATE:168:missing rsa certificate SSL_R_MISSING_RSA_ENCRYPTING_CERT:169:missing rsa encrypting cert SSL_R_MISSING_RSA_SIGNING_CERT:170:missing rsa signing cert SSL_R_MISSING_SIGALGS_EXTENSION:112:missing sigalgs extension +SSL_R_MISSING_SIGNING_CERT:221:missing signing cert SSL_R_MISSING_SRP_PARAM:358:can't find SRP server param SSL_R_MISSING_SUPPORTED_GROUPS_EXTENSION:209:missing supported groups extension SSL_R_MISSING_TMP_DH_KEY:171:missing tmp dh key diff --git a/include/openssl/sslerr.h b/include/openssl/sslerr.h index 540bafff17..bc4c17e4d1 100644 --- a/include/openssl/sslerr.h +++ b/include/openssl/sslerr.h @@ -483,6 +483,7 @@ int ERR_load_SSL_strings(void); # define SSL_R_MISSING_RSA_ENCRYPTING_CERT 169 # define SSL_R_MISSING_RSA_SIGNING_CERT 170 # define SSL_R_MISSING_SIGALGS_EXTENSION 112 +# define SSL_R_MISSING_SIGNING_CERT 221 # define SSL_R_MISSING_SRP_PARAM 358 # define SSL_R_MISSING_SUPPORTED_GROUPS_EXTENSION 209 # define SSL_R_MISSING_TMP_DH_KEY 171 diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index 0b82c0e945..dc1d439b1b 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -767,6 +767,8 @@ static const ERR_STRING_DATA SSL_str_reasons[] = { "missing rsa signing cert"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SIGALGS_EXTENSION), "missing sigalgs extension"}, + {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SIGNING_CERT), + "missing signing cert"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SRP_PARAM), "can't find SRP server param"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SUPPORTED_GROUPS_EXTENSION),