diff options
author | Pauli <pauli@openssl.org> | 2021-05-26 10:02:09 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-27 13:01:50 +1000 |
commit | 3134fb284fe632424ee3bd380c4bf95342aa00fd (patch) | |
tree | 2f1c3346a1fc1f65dde9f0d10fac9c44bb99c96a /crypto | |
parent | 476798f22f76040dc5218aa8e91ffb0177fea9e7 (diff) |
errors: update error message (to be squashed)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15472)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/err/openssl.txt | 2 | ||||
-rw-r--r-- | crypto/rsa/rsa_err.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/crypto/err/openssl.txt b/crypto/err/openssl.txt index 3e9bfc1acf..48d1175bce 100644 --- a/crypto/err/openssl.txt +++ b/crypto/err/openssl.txt @@ -1190,6 +1190,8 @@ RSA_R_PSS_SALTLEN_TOO_SMALL:164:pss saltlen too small RSA_R_PUB_EXPONENT_OUT_OF_RANGE:178:pub exponent out of range RSA_R_P_NOT_PRIME:128:p not prime RSA_R_Q_NOT_PRIME:129:q not prime +RSA_R_RANDOMNESS_SOURCE_STRENGTH_INSUFFICIENT:180:\ + randomness source strength insufficient RSA_R_RSA_OPERATIONS_NOT_SUPPORTED:130:rsa operations not supported RSA_R_SLEN_CHECK_FAILED:136:salt length check failed RSA_R_SLEN_RECOVERY_FAILED:135:salt length recovery failed diff --git a/crypto/rsa/rsa_err.c b/crypto/rsa/rsa_err.c index 1e3c81ff5e..85bee965fc 100644 --- a/crypto/rsa/rsa_err.c +++ b/crypto/rsa/rsa_err.c @@ -1,6 +1,6 @@ /* * Generated by util/mkerr.pl DO NOT EDIT - * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -118,6 +118,8 @@ static const ERR_STRING_DATA RSA_str_reasons[] = { "pub exponent out of range"}, {ERR_PACK(ERR_LIB_RSA, 0, RSA_R_P_NOT_PRIME), "p not prime"}, {ERR_PACK(ERR_LIB_RSA, 0, RSA_R_Q_NOT_PRIME), "q not prime"}, + {ERR_PACK(ERR_LIB_RSA, 0, RSA_R_RANDOMNESS_SOURCE_STRENGTH_INSUFFICIENT), + "randomness source strength insufficient"}, {ERR_PACK(ERR_LIB_RSA, 0, RSA_R_RSA_OPERATIONS_NOT_SUPPORTED), "rsa operations not supported"}, {ERR_PACK(ERR_LIB_RSA, 0, RSA_R_SLEN_CHECK_FAILED), |