Index: openssl/crypto/x509v3/v3_pmaps.c |
=================================================================== |
--- openssl/crypto/x509v3/v3_pmaps.c (revision 105093) |
+++ openssl/crypto/x509v3/v3_pmaps.c (working copy) |
@@ -63,10 +63,11 @@ |
#include <openssl/conf.h> |
#include <openssl/x509v3.h> |
-static void *v2i_POLICY_MAPPINGS(X509V3_EXT_METHOD *method, |
- X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval); |
-static STACK_OF(CONF_VALUE) *i2v_POLICY_MAPPINGS(X509V3_EXT_METHOD *method, |
- void *pmps, STACK_OF(CONF_VALUE) *extlist); |
+static void *v2i_POLICY_MAPPINGS(const X509V3_EXT_METHOD *method, |
+ X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval); |
+static STACK_OF(CONF_VALUE) * |
+i2v_POLICY_MAPPINGS(const X509V3_EXT_METHOD *method, void *pmps, |
+ STACK_OF(CONF_VALUE) *extlist); |
const X509V3_EXT_METHOD v3_policy_mappings = { |
NID_policy_mappings, 0, |
@@ -92,8 +93,9 @@ |
IMPLEMENT_ASN1_ALLOC_FUNCTIONS(POLICY_MAPPING) |
-static STACK_OF(CONF_VALUE) *i2v_POLICY_MAPPINGS(X509V3_EXT_METHOD *method, |
- void *a, STACK_OF(CONF_VALUE) *ext_list) |
+static STACK_OF(CONF_VALUE) * |
+i2v_POLICY_MAPPINGS(const X509V3_EXT_METHOD *method, void *a, |
+ STACK_OF(CONF_VALUE) *ext_list) |
{ |
POLICY_MAPPINGS *pmaps = a; |
POLICY_MAPPING *pmap; |
@@ -109,8 +111,8 @@ |
return ext_list; |
} |
-static void *v2i_POLICY_MAPPINGS(X509V3_EXT_METHOD *method, |
- X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) |
+static void *v2i_POLICY_MAPPINGS(const X509V3_EXT_METHOD *method, |
+ X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) |
{ |
POLICY_MAPPINGS *pmaps; |
POLICY_MAPPING *pmap; |