Principle of least surprise: make CMAC_CTX_free(), OCSP_REQ_CTX_free() and
authormiod <miod@openbsd.org>
Sat, 12 Jul 2014 14:58:32 +0000 (14:58 +0000)
committermiod <miod@openbsd.org>
Sat, 12 Jul 2014 14:58:32 +0000 (14:58 +0000)
commit68a272ff45d44b26bcfbf7aac61d5a3b1746d781
treea6df70ac4261fab5b3d93bad9ab09dbd6782ccf8
parent114e92531d7e78d0c8cd374fb8dd5e8e8d79ec87
Principle of least surprise: make CMAC_CTX_free(), OCSP_REQ_CTX_free() and
X509_STORE_CTX_free() accept NULL pointers as input without dereferencing them,
like all the other well-behaved *_CTX_free() functions do.
lib/libcrypto/cmac/cmac.c
lib/libcrypto/ocsp/ocsp_ht.c
lib/libcrypto/x509/x509_vfy.c
lib/libssl/src/crypto/cmac/cmac.c
lib/libssl/src/crypto/ocsp/ocsp_ht.c
lib/libssl/src/crypto/x509/x509_vfy.c