aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/info.c
diff options
context:
space:
mode:
authorDoug Hogan <[email protected]>2019-01-03 18:46:08 -0800
committerDoug Hogan <[email protected]>2019-01-08 00:08:22 -0800
commit7ad28fd1bd0b6504c78c5d76903878cebd5cd631 (patch)
treef883f98ac4c07dc71a1ff167bcb69ac6f18beeaf /lib/crypto/c_src/info.c
parent74a4f7b390581859b798079484f4af2644d41ee2 (diff)
downloadotp-7ad28fd1bd0b6504c78c5d76903878cebd5cd631.tar.gz
otp-7ad28fd1bd0b6504c78c5d76903878cebd5cd631.tar.bz2
otp-7ad28fd1bd0b6504c78c5d76903878cebd5cd631.zip
Revamp get_dss_public_key()
* Simplify logic by having incremental allocation and only free on error on one place. * Add error checking on all OpenSSL calls. * Make it explicit when you need to be careful with non-reference counted pointers. - set0 calls will use the pointer values without ref counting. - On success, set pointers to NULL to avoid double frees since the struct is now responsible for freeing the resources.
Diffstat (limited to 'lib/crypto/c_src/info.c')
0 files changed, 0 insertions, 0 deletions