Index: openssl/crypto/x509v3/v3_extku.c |
=================================================================== |
--- openssl/crypto/x509v3/v3_extku.c (revision 105093) |
+++ openssl/crypto/x509v3/v3_extku.c (working copy) |
@@ -63,9 +63,10 @@ |
#include <openssl/conf.h> |
#include <openssl/x509v3.h> |
-static void *v2i_EXTENDED_KEY_USAGE(X509V3_EXT_METHOD *method, |
- X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval); |
-static STACK_OF(CONF_VALUE) *i2v_EXTENDED_KEY_USAGE(X509V3_EXT_METHOD *method, |
+static void *v2i_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD *method, |
+ X509V3_CTX *ctx, |
+ STACK_OF(CONF_VALUE) *nval); |
+static STACK_OF(CONF_VALUE) *i2v_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD *method, |
void *eku, STACK_OF(CONF_VALUE) *extlist); |
const X509V3_EXT_METHOD v3_ext_ku = { |
@@ -97,8 +98,9 @@ |
IMPLEMENT_ASN1_FUNCTIONS(EXTENDED_KEY_USAGE) |
-static STACK_OF(CONF_VALUE) *i2v_EXTENDED_KEY_USAGE(X509V3_EXT_METHOD *method, |
- void *a, STACK_OF(CONF_VALUE) *ext_list) |
+static STACK_OF(CONF_VALUE) * |
+ i2v_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD *method, void *a, |
+ STACK_OF(CONF_VALUE) *ext_list) |
{ |
EXTENDED_KEY_USAGE *eku = a; |
int i; |
@@ -112,8 +114,8 @@ |
return ext_list; |
} |
-static void *v2i_EXTENDED_KEY_USAGE(X509V3_EXT_METHOD *method, |
- X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) |
+static void *v2i_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD *method, |
+ X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) |
{ |
EXTENDED_KEY_USAGE *extku; |
char *extval; |