Fix loads of warnings in policy code.

I'll remember to try to compile this with warnings enabled next time :-)
This commit is contained in:
Dr. Stephen Henson
2004-03-25 13:45:58 +00:00
parent 69d1d5e6ce
commit b79c82eaab
8 changed files with 19 additions and 18 deletions

View File

@@ -63,9 +63,9 @@
#include "pcy_int.h"
static int node_cmp(void *pa, void *pb)
static int node_cmp(const X509_POLICY_NODE * const *a,
const X509_POLICY_NODE * const *b)
{
X509_POLICY_NODE **a = pa, **b = pb;
return OBJ_cmp((*a)->data->valid_policy, (*b)->data->valid_policy);
}
@@ -99,7 +99,7 @@ X509_POLICY_NODE *level_find_node(const X509_POLICY_LEVEL *level,
}
X509_POLICY_NODE *level_add_node(X509_POLICY_LEVEL *level,
const X509_POLICY_DATA *data,
X509_POLICY_DATA *data,
X509_POLICY_NODE *parent,
X509_POLICY_TREE *tree)
{