diff options
author | inoguchi <> | 2019-07-08 11:56:18 +0000 |
---|---|---|
committer | inoguchi <> | 2019-07-08 11:56:18 +0000 |
commit | 38918e2b1105203e3a43e4c44a53bf432952771c (patch) | |
tree | 310341efad6ce481d2f014d248212cbd16751d44 /src/usr.bin/openssl/dsa.c | |
parent | b7ed3b2ab5936f64572047d1bcd708bbdeeb5a59 (diff) | |
download | openbsd-38918e2b1105203e3a43e4c44a53bf432952771c.tar.gz openbsd-38918e2b1105203e3a43e4c44a53bf432952771c.tar.bz2 openbsd-38918e2b1105203e3a43e4c44a53bf432952771c.zip |
Clean up pvkfmt.c
- Replace EVP_CIPHER_CTX_init with EVP_CIPHER_CTX_new and handle return value
- Replace EVP_CIPHER_CTX_cleanup with EVP_CIPHER_CTX_free
- Change two 'return -1;' to 'goto err;' for avoiding leak
- Remove the case if enclevel == 0
- Change enclevel checking to make more consistent
- Change all goto label to 'err' and insert space before goto label
ok and advise from tb@
Diffstat (limited to 'src/usr.bin/openssl/dsa.c')
0 files changed, 0 insertions, 0 deletions