aboutsummaryrefslogtreecommitdiff
path: root/crypto/x509v3/pcy_tree.c
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2016-01-27 21:54:09 -0500
committerViktor Dukhovni <openssl-users@dukhovni.org>2016-01-27 22:16:12 -0500
commit109f8b5dec6aa3f46c1df79c8d5f8e8aba10474b (patch)
treea3b829adb790d377a5fa820d7d1acc9510485168 /crypto/x509v3/pcy_tree.c
parentb4f35e5e07afa2df7125b814b45242648b33e39e (diff)
downloadopenssl-109f8b5dec6aa3f46c1df79c8d5f8e8aba10474b.zip
openssl-109f8b5dec6aa3f46c1df79c8d5f8e8aba10474b.tar.gz
openssl-109f8b5dec6aa3f46c1df79c8d5f8e8aba10474b.tar.bz2
Comment side-effect only calls of X509_check_purpose
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509v3/pcy_tree.c')
-rw-r--r--crypto/x509v3/pcy_tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/x509v3/pcy_tree.c b/crypto/x509v3/pcy_tree.c
index 6cf6f4e..850d488 100644
--- a/crypto/x509v3/pcy_tree.c
+++ b/crypto/x509v3/pcy_tree.c
@@ -186,7 +186,6 @@ static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs,
uint32_t ex_flags;
x = sk_X509_value(certs, i);
ex_flags = X509_get_extension_flags(x);
- X509_check_purpose(x, -1, -1);
cache = policy_cache_set(x);
/* If cache NULL something bad happened: return immediately */
if (cache == NULL)