summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ripemd/rmdconst.h
diff options
context:
space:
mode:
authortb <>2023-08-10 09:43:51 +0000
committertb <>2023-08-10 09:43:51 +0000
commit16cca863e0409e2a511a758a5cbf5d41b6a3a852 (patch)
treec6bcc699c6aecd20537e77897245dd9a46589ca8 /src/lib/libcrypto/ripemd/rmdconst.h
parent0c08015642e4fb2a5ce32565ab942ffc9579d487 (diff)
downloadopenbsd-16cca863e0409e2a511a758a5cbf5d41b6a3a852.tar.gz
openbsd-16cca863e0409e2a511a758a5cbf5d41b6a3a852.tar.bz2
openbsd-16cca863e0409e2a511a758a5cbf5d41b6a3a852.zip
Various fixes in {dh,dsa}_priv_encode()
Avoid creating an ASN1_STRING with negative length, set type, data and length via ASN1_STRING_type_new() and ASN1_STRING_set0() instead of doing this manually. Check return value for i2d_ASN1_INTEGER() and use an intermediate ASN1_OBJECT instead of nested function calls. Finally, clear sensitive data with freezero(). ok jsing
Diffstat (limited to 'src/lib/libcrypto/ripemd/rmdconst.h')
0 files changed, 0 insertions, 0 deletions