You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
X509_STORE_CTX_get_current_cert() returns the certificate which caused the error or NULL if no certificate is relevant to the error.
X509_STORE_CTX_get_current_cert() was never NULL. Applications should check the return value before printing out any debugging information relating to the current certificate.
So it will be safer to check cert first before using it.
According to the OpenSSL API document,
So it will be safer to check
cert
first before using it.aprx/ssl.c
Lines 486 to 494 in 13c6e79
The text was updated successfully, but these errors were encountered: