diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2004-03-25 13:45:58 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2004-03-25 13:45:58 +0000 |
commit | b79c82eaabd87d336f91881f63b4104fec9ae445 (patch) | |
tree | 08e42c7f5c9b24c082fc0d35bc3486f1c1544c4a /crypto/x509v3/pcy_tree.c | |
parent | 69d1d5e6cee22de3ecc353d156e8ace7abb58afb (diff) | |
download | openssl-b79c82eaabd87d336f91881f63b4104fec9ae445.tar.gz |
Fix loads of warnings in policy code.
I'll remember to try to compile this with warnings enabled next time :-)
Diffstat (limited to 'crypto/x509v3/pcy_tree.c')
-rw-r--r-- | crypto/x509v3/pcy_tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/x509v3/pcy_tree.c b/crypto/x509v3/pcy_tree.c index 8871ab88b6..9ac169c00c 100644 --- a/crypto/x509v3/pcy_tree.c +++ b/crypto/x509v3/pcy_tree.c @@ -410,11 +410,11 @@ static int tree_add_auth_node(STACK_OF(X509_POLICY_NODE) **pnodes, */ static int tree_calculate_authority_set(X509_POLICY_TREE *tree, - STACK_OF(X509_POLICY_NODES) **pnodes) + STACK_OF(X509_POLICY_NODE) **pnodes) { X509_POLICY_LEVEL *curr; X509_POLICY_NODE *node, *anyptr; - STACK_OF(X509_POLICY_NODES) **addnodes; + STACK_OF(X509_POLICY_NODE) **addnodes; int i, j; curr = tree->levels + tree->nlevel - 1; @@ -596,7 +596,7 @@ int X509_policy_check(X509_POLICY_TREE **ptree, int *explicit, { int ret; X509_POLICY_TREE *tree = NULL; - STACK_OF(X509_NODE) *nodes, *auth_nodes = NULL; + STACK_OF(X509_POLICY_NODE) *nodes, *auth_nodes = NULL; *ptree = NULL; *explicit = 0; |