More get0 et al. changes. Also provide fgrep targets in CHANGES
[openssl.git] / crypto / x509 / x509_vfy.c
index 8de6cc97f3fc1335c0ef21c99d72169588ed63ae..4fdff54124c3ace538d65e5259a6a7357b9eb94d 100644 (file)
@@ -777,7 +777,7 @@ int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose,
                /* If trust not set then get from purpose default */
                if(!trust) {
                        X509_PURPOSE *ptmp;
-                       ptmp = X509_PURPOSE_iget(idx);
+                       ptmp = X509_PURPOSE_get0(idx);
                        trust = ptmp->trust;
                }
        }