Use the libctx and propq from the X509_STORE_CTX