diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-06-15 17:25:15 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-06-15 17:25:15 +0000 |
commit | e97359435ee15e6d2c0580c76a58040e8dc3ce60 (patch) | |
tree | 01c3ecc781efc58b6efb927129cdfe511644a3d5 /crypto/x509v3 | |
parent | afce9bcca15bbf4a015d3f678cec5501ca1092eb (diff) |
Fix warnings (From HEAD, original patch by Ben).
Diffstat (limited to 'crypto/x509v3')
-rw-r--r-- | crypto/x509v3/pcy_tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/x509v3/pcy_tree.c b/crypto/x509v3/pcy_tree.c index 92f6b24556..bb9777348f 100644 --- a/crypto/x509v3/pcy_tree.c +++ b/crypto/x509v3/pcy_tree.c @@ -341,9 +341,8 @@ static int tree_link_nodes(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache) { int i; - X509_POLICY_LEVEL *last; X509_POLICY_DATA *data; - last = curr - 1; + for (i = 0; i < sk_X509_POLICY_DATA_num(cache->data); i++) { data = sk_X509_POLICY_DATA_value(cache->data, i); |