summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa_err.c
diff options
context:
space:
mode:
authorjsing <>2019-11-01 03:45:13 +0000
committerjsing <>2019-11-01 03:45:13 +0000
commit06b54e9217af744c680ff812191733948cfafa40 (patch)
tree76c7f4e1cab4725386517c297aacf6d5616d0c59 /src/lib/libcrypto/rsa/rsa_err.c
parent207d5072457060a56e0ae65ce9e652e88178d798 (diff)
downloadopenbsd-06b54e9217af744c680ff812191733948cfafa40.tar.gz
openbsd-06b54e9217af744c680ff812191733948cfafa40.tar.bz2
openbsd-06b54e9217af744c680ff812191733948cfafa40.zip
Update RSA ASN.1 code to handle RSA-PSS.
From OpenSSL 1.1.1d. ok tb@
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_err.c')
-rw-r--r--src/lib/libcrypto/rsa/rsa_err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_err.c b/src/lib/libcrypto/rsa/rsa_err.c
index 91d74307f0..9924dac581 100644
--- a/src/lib/libcrypto/rsa/rsa_err.c
+++ b/src/lib/libcrypto/rsa/rsa_err.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa_err.c,v 1.18 2019/10/31 13:56:29 jsing Exp $ */ 1/* $OpenBSD: rsa_err.c,v 1.19 2019/11/01 03:45:13 jsing Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -90,6 +90,7 @@ static ERR_STRING_DATA RSA_str_reasons[] = {
90 {ERR_REASON(RSA_R_DATA_TOO_LARGE_FOR_MODULUS), "data too large for modulus"}, 90 {ERR_REASON(RSA_R_DATA_TOO_LARGE_FOR_MODULUS), "data too large for modulus"},
91 {ERR_REASON(RSA_R_DATA_TOO_SMALL) , "data too small"}, 91 {ERR_REASON(RSA_R_DATA_TOO_SMALL) , "data too small"},
92 {ERR_REASON(RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE), "data too small for key size"}, 92 {ERR_REASON(RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE), "data too small for key size"},
93 {ERR_REASON(RSA_R_DIGEST_DOES_NOT_MATCH) , "digest does not match"},
93 {ERR_REASON(RSA_R_DIGEST_NOT_ALLOWED) , "digest not allowed"}, 94 {ERR_REASON(RSA_R_DIGEST_NOT_ALLOWED) , "digest not allowed"},
94 {ERR_REASON(RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY), "digest too big for rsa key"}, 95 {ERR_REASON(RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY), "digest too big for rsa key"},
95 {ERR_REASON(RSA_R_DMP1_NOT_CONGRUENT_TO_D), "dmp1 not congruent to d"}, 96 {ERR_REASON(RSA_R_DMP1_NOT_CONGRUENT_TO_D), "dmp1 not congruent to d"},