diff options
author | tb <> | 2021-12-26 15:10:59 +0000 |
---|---|---|
committer | tb <> | 2021-12-26 15:10:59 +0000 |
commit | 9656351e09b56a51fb7279fc55f9ec06f3459223 (patch) | |
tree | 9904bf7ffa9ad2af2073419c5dcad5811c813383 /src/lib/libcrypto/rsa/rsa_gen.c | |
parent | 4d9688185fced2e3bb90ecfac76d461ac4ba4f87 (diff) | |
download | openbsd-9656351e09b56a51fb7279fc55f9ec06f3459223.tar.gz openbsd-9656351e09b56a51fb7279fc55f9ec06f3459223.tar.bz2 openbsd-9656351e09b56a51fb7279fc55f9ec06f3459223.zip |
Hoist memset of CBB above EVP_MD_CTX_new() and HMAC_CTX_new() to avoid
a use of uninitialized in the unlikely event that either of them fails.
Problem introduced in r1.128.
CID 345113
ok jsing
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_gen.c')
0 files changed, 0 insertions, 0 deletions