diff options
author | jsing <> | 2023-01-11 04:35:26 +0000 |
---|---|---|
committer | jsing <> | 2023-01-11 04:35:26 +0000 |
commit | e4eca83b70194cd4d7b511bbdb16dec48f17bf00 (patch) | |
tree | 693f7557b15a88c16bf6664a8cb90d688f4a17e9 /src/lib/libcrypto/dsa/dsa_gen.c | |
parent | 91bbe13c96f10a7f8b2ff6d49eb161bd1334f30e (diff) | |
download | openbsd-e4eca83b70194cd4d7b511bbdb16dec48f17bf00.tar.gz openbsd-e4eca83b70194cd4d7b511bbdb16dec48f17bf00.tar.bz2 openbsd-e4eca83b70194cd4d7b511bbdb16dec48f17bf00.zip |
Simplify BIGNUM handling in dsa_builtin_keygen().
Rather than having complicated "attempt to reuse" dances, always allocate
priv_key/pub_key, then free and assign on success.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_gen.c')
0 files changed, 0 insertions, 0 deletions