diff options
author | tb <> | 2023-12-29 18:46:24 +0000 |
---|---|---|
committer | tb <> | 2023-12-29 18:46:24 +0000 |
commit | 5f197d54aa3750390380be33ac4bd1fe910b7fcd (patch) | |
tree | 8a548b19bfcf1d635ebf2e7cbd2dac3ea68a2c37 /src/lib/libcrypto/man/BN_generate_prime.3 | |
parent | ee1a6831815b66f5ddf67219918fb3b797c7361e (diff) | |
download | openbsd-5f197d54aa3750390380be33ac4bd1fe910b7fcd.tar.gz openbsd-5f197d54aa3750390380be33ac4bd1fe910b7fcd.tar.bz2 openbsd-5f197d54aa3750390380be33ac4bd1fe910b7fcd.zip |
Rework eckey_priv_decode()
Factor out the pubkey computation and bring it into more sensible form.
This removes lots of pointless setting of errors (twice) and makes the
code a bit easier on the eyes. Other than that perform some stylistic
cleanup like single exit and add an error check for EVP_PKEY_assign().
ok jsing
Diffstat (limited to 'src/lib/libcrypto/man/BN_generate_prime.3')
0 files changed, 0 insertions, 0 deletions