BIO_free() returns immediately when the sole input is NULL.
authordoug <doug@openbsd.org>
Fri, 25 Jul 2014 06:05:31 +0000 (06:05 +0000)
committerdoug <doug@openbsd.org>
Fri, 25 Jul 2014 06:05:31 +0000 (06:05 +0000)
commit68d88c35f6311ff09548698e9d5bb46a5c686a81
tree5e9db4c8587412f1c891486410749396e383c2d8
parent445bf4df27eb70601c386c2c008dfd1ee52e4a68
BIO_free() returns immediately when the sole input is NULL.
Remove unnecessary NULL check.

ok miod@
26 files changed:
lib/libcrypto/asn1/bio_ndef.c
lib/libcrypto/bio/bio_lib.c
lib/libcrypto/bio/bss_acpt.c
lib/libcrypto/cms/cms_lib.c
lib/libcrypto/ocsp/ocsp_ht.c
lib/libcrypto/pkcs7/pk7_doit.c
lib/libcrypto/x509/by_file.c
lib/libssl/src/apps/apps.c
lib/libssl/src/apps/dh.c
lib/libssl/src/apps/dhparam.c
lib/libssl/src/apps/dsa.c
lib/libssl/src/apps/dsaparam.c
lib/libssl/src/apps/ec.c
lib/libssl/src/apps/ecparam.c
lib/libssl/src/apps/enc.c
lib/libssl/src/apps/gendsa.c
lib/libssl/src/apps/passwd.c
lib/libssl/src/apps/s_server.c
lib/libssl/src/apps/sess_id.c
lib/libssl/src/crypto/asn1/bio_ndef.c
lib/libssl/src/crypto/bio/bio_lib.c
lib/libssl/src/crypto/bio/bss_acpt.c
lib/libssl/src/crypto/cms/cms_lib.c
lib/libssl/src/crypto/ocsp/ocsp_ht.c
lib/libssl/src/crypto/pkcs7/pk7_doit.c
lib/libssl/src/crypto/x509/by_file.c