More get0 et al. changes. Also provide fgrep targets in CHANGES
[openssl.git] / crypto / x509 / x509_vfy.c
index 8de6cc9..4fdff54 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;
                }
        }