summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_err.c
diff options
context:
space:
mode:
authorMark J. Cox <mark@openssl.org>2006-09-05 08:58:03 +0000
committerMark J. Cox <mark@openssl.org>2006-09-05 08:58:03 +0000
commitb79aa05e3babdbab92c6356f6e51f7bb43c41576 (patch)
tree1963310ff2983ec5cba1330c9a58b343f6e0b232 /crypto/rsa/rsa_err.c
parent500b5a181df0e8e442e4cbf954213ff886b29df3 (diff)
Avoid PKCS #1 v1.5 signature attack discovered by Daniel Bleichenbacher
(CVE-2006-4339) Submitted by: Ben Laurie, Google Security Team Reviewed by: bmoeller, mjc, shenson
Diffstat (limited to 'crypto/rsa/rsa_err.c')
-rw-r--r--crypto/rsa/rsa_err.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_err.c b/crypto/rsa/rsa_err.c
index 163b143a73..1a7f8b7719 100644
--- a/crypto/rsa/rsa_err.c
+++ b/crypto/rsa/rsa_err.c
@@ -160,6 +160,7 @@ static ERR_STRING_DATA RSA_str_reasons[]=
{ERR_REASON(RSA_R_N_DOES_NOT_EQUAL_P_Q) ,"n does not equal p q"},
{ERR_REASON(RSA_R_OAEP_DECODING_ERROR) ,"oaep decoding error"},
{ERR_REASON(RSA_R_PADDING_CHECK_FAILED) ,"padding check failed"},
+{ERR_REASON(RSA_R_PKCS1_PADDING_TOO_SHORT),"pkcs1 padding too short"},
{ERR_REASON(RSA_R_P_NOT_PRIME) ,"p not prime"},
{ERR_REASON(RSA_R_Q_NOT_PRIME) ,"q not prime"},
{ERR_REASON(RSA_R_RSA_OPERATIONS_NOT_SUPPORTED),"rsa operations not supported"},