diff options
author | 2019-11-01 03:41:40 +0000 | |
---|---|---|
committer | 2019-11-01 03:41:40 +0000 | |
commit | 4edd1ac9887c354e9919e918324a8dc3258c01ac (patch) | |
tree | 36b7886fcdbeffa473adea8e19fb52c4a544a406 /lib/libcrypto/rsa/rsa_err.c | |
parent | remove duplicate PUBKEY_DEFAULT_PK_ALG on !WITH_OPENSSL path (diff) | |
download | wireguard-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