diff options
author | tb <> | 2023-12-28 22:06:41 +0000 |
---|---|---|
committer | tb <> | 2023-12-28 22:06:41 +0000 |
commit | f17548a214654a2b6d13345be9dd4218a9a20182 (patch) | |
tree | 8f02dcb52a16df9fdc942c939f21c7f11f701806 /src/lib/libcrypto/dsa/dsa_pmeth.c | |
parent | 0ba1ffaa654066f019e25b3ff2c8b684e0bffa08 (diff) | |
download | openbsd-f17548a214654a2b6d13345be9dd4218a9a20182.tar.gz openbsd-f17548a214654a2b6d13345be9dd4218a9a20182.tar.bz2 openbsd-f17548a214654a2b6d13345be9dd4218a9a20182.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/libcrypto/dsa/dsa_pmeth.c')
0 files changed, 0 insertions, 0 deletions