diff options
author | slontis <shane.lontis@oracle.com> | 2022-05-30 10:07:40 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-06-13 10:56:31 +0200 |
commit | d2399d8cd29f56e6614f0b3db4e7e563a745902a (patch) | |
tree | ef9ec56261ac404b60dc336d343f5a47f3102a4d /crypto/bn/bn_err.c | |
parent | RSA Keygen update - When using the default provider fallback to default multi... (diff) | |
download | openssl-d2399d8cd29f56e6614f0b3db4e7e563a745902a.tar.xz openssl-d2399d8cd29f56e6614f0b3db4e7e563a745902a.zip |
RSA keygen update: Raise an error if no prime candidate q is found.
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18429)
Diffstat (limited to 'crypto/bn/bn_err.c')
-rw-r--r-- | crypto/bn/bn_err.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bn/bn_err.c b/crypto/bn/bn_err.c index 67095a83c0..953be9ed47 100644 --- a/crypto/bn/bn_err.c +++ b/crypto/bn/bn_err.c @@ -1,6 +1,6 @@ /* * Generated by util/mkerr.pl DO NOT EDIT - * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2022 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 @@ -32,6 +32,7 @@ static const ERR_STRING_DATA BN_str_reasons[] = { {ERR_PACK(ERR_LIB_BN, 0, BN_R_NOT_A_SQUARE), "not a square"}, {ERR_PACK(ERR_LIB_BN, 0, BN_R_NOT_INITIALIZED), "not initialized"}, {ERR_PACK(ERR_LIB_BN, 0, BN_R_NO_INVERSE), "no inverse"}, + {ERR_PACK(ERR_LIB_BN, 0, BN_R_NO_PRIME_CANDIDATE), "no prime candidate"}, {ERR_PACK(ERR_LIB_BN, 0, BN_R_NO_SOLUTION), "no solution"}, {ERR_PACK(ERR_LIB_BN, 0, BN_R_NO_SUITABLE_DIGEST), "no suitable digest"}, {ERR_PACK(ERR_LIB_BN, 0, BN_R_PRIVATE_KEY_TOO_LARGE), |