diff options
author | Geoff Thorpe <geoff@openssl.org> | 2004-03-25 02:24:38 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2004-03-25 02:24:38 +0000 |
commit | 2bd4e3379f8d9bf517f72c95c488f5b9f3b3a0d3 (patch) | |
tree | 2fe203cfaba0c21a96f81409cdd2af13cfad6654 /crypto/x509v3/pcy_tree.c | |
parent | 032c3ecb18ca3ac4823424aaf072f2deb28a987c (diff) | |
download | openssl-2bd4e3379f8d9bf517f72c95c488f5b9f3b3a0d3.zip openssl-2bd4e3379f8d9bf517f72c95c488f5b9f3b3a0d3.tar.gz openssl-2bd4e3379f8d9bf517f72c95c488f5b9f3b3a0d3.tar.bz2 |
Remove some warnings.
Diffstat (limited to 'crypto/x509v3/pcy_tree.c')
-rw-r--r-- | crypto/x509v3/pcy_tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509v3/pcy_tree.c b/crypto/x509v3/pcy_tree.c index 16cacde..8871ab8 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; |