Prepare for next version.
[oweals/openssl.git] / crypto / x509 / x509_lu.c
index 8c7f22b0d93af1ff4cc14c3313a335ba5d46e4cf..cd2cfb6d855aedd3cbf5a404bb7e49fe71b0bb88 100644 (file)
@@ -497,7 +497,7 @@ int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
                if (ok == X509_LU_RETRY)
                        {
                        X509_OBJECT_free_contents(&obj);
-                       X509err(X509_F_X509_VERIFY_CERT,X509_R_SHOULD_RETRY);
+                       X509err(X509_F_X509_STORE_CTX_GET1_ISSUER,X509_R_SHOULD_RETRY);
                        return -1;
                        }
                else if (ok != X509_LU_FAIL)