diff options
| author | jsing <> | 2019-11-01 03:41:40 +0000 |
|---|---|---|
| committer | jsing <> | 2019-11-01 03:41:40 +0000 |
| commit | 207d5072457060a56e0ae65ce9e652e88178d798 (patch) | |
| tree | d88de625441e4ba372a575c1b1eb494e21ed0046 /src/lib/libcrypto/objects/obj_xref.h | |
| parent | b4d73e8ad801a43d9f7b4819e067284405812833 (diff) | |
| download | openbsd-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/objects/obj_xref.h')
0 files changed, 0 insertions, 0 deletions
