Improve the implementation of X509_STORE_CTX_get1_issuer()