summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/pcy_tree.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2004-03-25 02:24:38 +0000
committerGeoff Thorpe <geoff@openssl.org>2004-03-25 02:24:38 +0000
commit2bd4e3379f8d9bf517f72c95c488f5b9f3b3a0d3 (patch)
tree2fe203cfaba0c21a96f81409cdd2af13cfad6654 /crypto/x509v3/pcy_tree.c
parent032c3ecb18ca3ac4823424aaf072f2deb28a987c (diff)
Remove some warnings.
Diffstat (limited to 'crypto/x509v3/pcy_tree.c')
-rw-r--r--crypto/x509v3/pcy_tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509v3/pcy_tree.c b/crypto/x509v3/pcy_tree.c
index 16cacde0c4..8871ab88b6 100644
--- a/crypto/x509v3/pcy_tree.c
+++ b/crypto/x509v3/pcy_tree.c
@@ -81,11 +81,11 @@ static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs,
X509 *x;
int ret = 1;
int i, n;
- *ptree = NULL;
- n = sk_X509_num(certs);
int explicit_policy;
int any_skip;
int map_skip;
+ *ptree = NULL;
+ n = sk_X509_num(certs);
/* Disable policy mapping for now... */
flags |= X509_V_FLAG_INHIBIT_MAP;