Update from HEAD.
[oweals/openssl.git] / crypto / x509v3 / pcy_map.c
index 093e4b6a84c9bb6a6ea845d2f5e338e4eac3d125..f28796e6d4eba35e6dea299c5724a05a736858f5 100644 (file)
@@ -1,5 +1,5 @@
 /* pcy_map.c */
-/* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL
+/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
  * project 2004.
  */
 /* ====================================================================
@@ -62,9 +62,9 @@
 
 #include "pcy_int.h"
 
-static int ref_cmp(void *pa, void *pb)
+static int ref_cmp(const X509_POLICY_REF * const *a,
+                       const X509_POLICY_REF * const *b)
        {
-       X509_POLICY_REF **a = pa; X509_POLICY_REF **b = pb;
        return OBJ_cmp((*a)->subjectDomainPolicy, (*b)->subjectDomainPolicy);
        }