summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa_err.c
diff options
context:
space:
mode:
authorjsing <>2019-11-01 03:41:40 +0000
committerjsing <>2019-11-01 03:41:40 +0000
commit4b2131d8548ee7ba37e4c4ddc15c4db5c5142254 (patch)
treed88de625441e4ba372a575c1b1eb494e21ed0046 /src/lib/libcrypto/rsa/rsa_err.c
parentb7c16782b73b43c43385b8f2b5b7aa8dbfa03668 (diff)
downloadopenbsd-4b2131d8548ee7ba37e4c4ddc15c4db5c5142254.tar.gz
openbsd-4b2131d8548ee7ba37e4c4ddc15c4db5c5142254.tar.bz2
openbsd-4b2131d8548ee7ba37e4c4ddc15c4db5c5142254.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 'src/lib/libcrypto/rsa/rsa_err.c')
0 files changed, 0 insertions, 0 deletions