summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/realpath.c
diff options
context:
space:
mode:
authortb <>2023-12-28 21:59:07 +0000
committertb <>2023-12-28 21:59:07 +0000
commite204ca5b61f4c88fa4e9bf36f0b6b0603bb99e1d (patch)
tree278a864ab321f651b9425654b04e31bb46b633e7 /src/lib/libc/stdlib/realpath.c
parent56a4cf214f97ca08f80790c161f0b3d472017eeb (diff)
downloadopenbsd-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/realpath.c')
0 files changed, 0 insertions, 0 deletions