diff options
author | tb <> | 2023-12-28 22:06:41 +0000 |
---|---|---|
committer | tb <> | 2023-12-28 22:06:41 +0000 |
commit | a2ec44f21cb7149881a7d2ec865bfe4822a0855a (patch) | |
tree | 8f02dcb52a16df9fdc942c939f21c7f11f701806 /src/lib/libc | |
parent | da696300181170af441e4635858fb24e8a6273f3 (diff) | |
download | openbsd-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