summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortb <>2023-12-28 22:06:41 +0000
committertb <>2023-12-28 22:06:41 +0000
commita2ec44f21cb7149881a7d2ec865bfe4822a0855a (patch)
tree8f02dcb52a16df9fdc942c939f21c7f11f701806 /src/lib/libc
parentda696300181170af441e4635858fb24e8a6273f3 (diff)
downloadopenbsd-a2ec44f21cb7149881a7d2ec865bfe4822a0855a.tar.gz
openbsd-a2ec44f21cb7149881a7d2ec865bfe4822a0855a.tar.bz2
openbsd-a2ec44f21cb7149881a7d2ec865bfe4822a0855a.zip
Rework pkey_dh_keygen()
Single exit, fix error checking and hold on to the DH by keeping a reference. In other words, switch from EVP_PKEY_assign() to using EVP_PKEY_set1_DH() and free unconditionally in the error path. ok jsing
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions