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
commit207d5072457060a56e0ae65ce9e652e88178d798 (patch)
treed88de625441e4ba372a575c1b1eb494e21ed0046 /src/lib/libcrypto/rsa/rsa_err.c
parentb4d73e8ad801a43d9f7b4819e067284405812833 (diff)
downloadopenbsd-207d5072457060a56e0ae65ce9e652e88178d798.tar.gz
openbsd-207d5072457060a56e0ae65ce9e652e88178d798.tar.bz2
openbsd-207d5072457060a56e0ae65ce9e652e88178d798.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