diff options
Diffstat (limited to 'crypto/x509/x509_vfy.c')
-rw-r--r-- | crypto/x509/x509_vfy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 8de6cc97f3..4fdff54124 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -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; } } |