CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/04/14 01:09:21
Modified files:
lib/libcrypto/asn1: d2i_pr.c
lib/libcrypto/dh: dh_lib.c
lib/libcrypto/dsa: dsa_lib.c
lib/libcrypto/ecdh: ech_lib.c
lib/libcrypto/ecdsa: ecs_lib.c
lib/libcrypto/engine: eng_init.c
lib/libcrypto/evp: digest.c evp_enc.c p_lib.c pmeth_lib.c
lib/libcrypto/pem: pem_lib.c
lib/libcrypto/rsa: rsa_lib.c
lib/libssl : ssl_lib.c
Log message:
make ENGINE_finish() succeed on NULL and simplify callers as in
OpenSSL commit 7c96dbcdab9 by Rich Salz.
This cleans up the caller side quite a bit and reduces the number of
lines enclosed in #ifndef OPENSSL_NO_ENGINE. codesearch.debian.net
shows that almost nothing checks the return value of ENGINE_finish().
While there, replace a few nearby 'if (!ptr)' with 'if (ptr == NULL)'.
ok jsing, tested by & ok inoguchi