Fix more certificate related lib_ctx settings.
[openssl.git] / crypto / x509 / x509_vfy.c
index 6c6d5442f25916d8d11ef0fd96be1e9c02859885..01871b90906df09d6d450595ba4567ddc2f9a2f1 100644 (file)
@@ -2052,7 +2052,7 @@ X509_CRL *X509_CRL_diff(X509_CRL *base, X509_CRL *newer,
         return NULL;
     }
     /* Create new CRL */
-    crl = X509_CRL_new();
+    crl = X509_CRL_new_ex(base->libctx, base->propq);
     if (crl == NULL || !X509_CRL_set_version(crl, 1))
         goto memerr;
     /* Set issuer name */