diff options
author | tb <> | 2023-12-28 21:59:07 +0000 |
---|---|---|
committer | tb <> | 2023-12-28 21:59:07 +0000 |
commit | 47ec95f1d429e392c3f445da28dfe9072f2af623 (patch) | |
tree | 278a864ab321f651b9425654b04e31bb46b633e7 /src/lib/libcrypto/dsa/dsa_pmeth.c | |
parent | 5c5cb0e5889fb400fae65afbc9f199da98feccac (diff) | |
download | openbsd-47ec95f1d429e392c3f445da28dfe9072f2af623.tar.gz openbsd-47ec95f1d429e392c3f445da28dfe9072f2af623.tar.bz2 openbsd-47ec95f1d429e392c3f445da28dfe9072f2af623.zip |
Rework pkey_rsa_keygen()
As usual, make the function single exit. Initialize the pkey callback
pointer and the BN_GENCB on the stack at the top rather than relying
on the weird trans_cb() in evp_pkey_set_cb_translate() to do so.
Greatly simplify the control flow and add missing error checks.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_pmeth.c')
0 files changed, 0 insertions, 0 deletions