diff options
author | jsing <> | 2019-11-01 03:41:40 +0000 |
---|---|---|
committer | jsing <> | 2019-11-01 03:41:40 +0000 |
commit | 4b2131d8548ee7ba37e4c4ddc15c4db5c5142254 (patch) | |
tree | d88de625441e4ba372a575c1b1eb494e21ed0046 /src/lib/libcrypto/rsa/rsa_err.c | |
parent | b7c16782b73b43c43385b8f2b5b7aa8dbfa03668 (diff) | |
download | openbsd-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