summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/rsa/rsa_err.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2019-11-01 03:41:40 +0000
committerjsing <jsing@openbsd.org>2019-11-01 03:41:40 +0000
commit4edd1ac9887c354e9919e918324a8dc3258c01ac (patch)
tree36b7886fcdbeffa473adea8e19fb52c4a544a406 /lib/libcrypto/rsa/rsa_err.c
parentremove duplicate PUBKEY_DEFAULT_PK_ALG on !WITH_OPENSSL path (diff)
downloadwireguard-openbsd-4edd1ac9887c354e9919e918324a8dc3258c01ac.tar.xz
wireguard-openbsd-4edd1ac9887c354e9919e918324a8dc3258c01ac.zip
Clean up RSA_new_method().
Use calloc() instead of malloc() for initialisation and remove explicit zero initialisation of members. This ensures that new members always get initialised. Also use a single error return path, simplifying code. ok tb@
Diffstat (limited to 'lib/libcrypto/rsa/rsa_err.c')
0 files changed, 0 insertions, 0 deletions