Check chain is not NULL before assuming we have a validated chain.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 15 Dec 2012 02:58:00 +0000 (02:58 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 15 Dec 2012 02:58:00 +0000 (02:58 +0000)
commite9754726d236b74476cd0be5fa60acfef0c7024f
tree7bab3fd41336b81893b28ba19489919fdc55ee8c
parent99fc818e93c28b02e5c0f681fcc5af7489893f9f
Check chain is not NULL before assuming we have a validated chain.

The modification to the OCSP helper purpose breaks normal OCSP verification.
It is no longer needed now we can trust partial chains.
crypto/ocsp/ocsp_vfy.c
crypto/x509v3/v3_purp.c