Add NULL checks from master
authorRich Salz <rsalz@akamai.com>
Tue, 12 May 2015 15:49:32 +0000 (11:49 -0400)
committerRich Salz <rsalz@openssl.org>
Wed, 13 May 2015 16:55:03 +0000 (12:55 -0400)
commitf34b095fab1569d093b639bfcc9a77d6020148ff
tree1dca25c54033b282c04a080f3f84f29b8bdca130
parentd3bb25e30ac1e07ce3b163655d8d33bc9f1186e3
Add NULL checks from master

The big "don't check for NULL" cleanup requires backporting some
of the lowest-level functions to actually do nothing if NULL is
given.  This will make it easier to backport fixes to release
branches, where master assumes those lower-level functions are "safe"

This commit addresses those tickets: 3798 3799 3801.

Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/cmac/cmac.c
crypto/x509/x509_lu.c
crypto/x509/x509_vfy.c