diff options
author | tb <> | 2023-12-28 21:59:07 +0000 |
---|---|---|
committer | tb <> | 2023-12-28 21:59:07 +0000 |
commit | e204ca5b61f4c88fa4e9bf36f0b6b0603bb99e1d (patch) | |
tree | 278a864ab321f651b9425654b04e31bb46b633e7 /src/lib/libc/stdlib/getopt_long.c | |
parent | 56a4cf214f97ca08f80790c161f0b3d472017eeb (diff) | |
download | openbsd-e204ca5b61f4c88fa4e9bf36f0b6b0603bb99e1d.tar.gz openbsd-e204ca5b61f4c88fa4e9bf36f0b6b0603bb99e1d.tar.bz2 openbsd-e204ca5b61f4c88fa4e9bf36f0b6b0603bb99e1d.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/libc/stdlib/getopt_long.c')
0 files changed, 0 insertions, 0 deletions