diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-04-08 19:27:06 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-15 09:23:18 +0200 |
commit | 7e43baed2a4cc050b301650c4a45ebdd54a30b5f (patch) | |
tree | ba88ce8f2a22394ee7329de560f4011730abcb2a /crypto/dsa | |
parent | 85fcc3fb777c527a614e58c23609210a9edf893b (diff) |
Do not allow creating empty RSA keys by duplication
Also avoid crashing in rsa_get_params on empty keys.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14793)
Diffstat (limited to 'crypto/dsa')
-rw-r--r-- | crypto/dsa/dsa_lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/dsa/dsa_lib.c b/crypto/dsa/dsa_lib.c index f39c2aa21a..5512b99ef1 100644 --- a/crypto/dsa/dsa_lib.c +++ b/crypto/dsa/dsa_lib.c @@ -358,4 +358,3 @@ int ossl_dsa_ffc_params_fromdata(DSA *dsa, const OSSL_PARAM params[]) dsa->dirty_cnt++; return ret; } - |