]> git.ipfire.org Git - thirdparty/hostap.git/commit
BoringSSL: Keep static analyzers happier with X509_get0_pubkey_bitstr()
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 16 Mar 2016 19:34:01 +0000 (21:34 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 16 Mar 2016 19:34:01 +0000 (21:34 +0200)
commit8b827c342f07b01622079734b24f8bf65497a1d6
treed7b2f6aba361cb0ab0c57cbe7142504167d533fa
parent42a95533a8a33d2fa31f49ea4f1fc64b7bf002d7
BoringSSL: Keep static analyzers happier with X509_get0_pubkey_bitstr()

While this function could return NULL if the parameter issued to it were
NULL, that does not really happen here. Anyway, since this can result in
a warning from a static analyzer that does can see the return NULL
without fully understanding what it means here, check the return value
explicitly against NULL to avoid false warnings.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/crypto/tls_openssl_ocsp.c