X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fx509v3%2Fv3_utl.c;fp=crypto%2Fx509v3%2Fv3_utl.c;h=7b18b0166d9d29b3ed649d0b9cd03dab2af4bc44;hp=ed07f7681ba81003885fd81119b98bd358c1dba0;hb=69b017f66b2b743c827fe885aa575066fef71ec9;hpb=f48ebf9f4cc5be2624389583be19f1c8895be194 diff --git a/crypto/x509v3/v3_utl.c b/crypto/x509v3/v3_utl.c index ed07f7681b..7b18b0166d 100644 --- a/crypto/x509v3/v3_utl.c +++ b/crypto/x509v3/v3_utl.c @@ -23,7 +23,7 @@ static int sk_strcmp(const char *const *a, const char *const *b); static STACK_OF(OPENSSL_STRING) *get_email(X509_NAME *name, GENERAL_NAMES *gens); static void str_free(OPENSSL_STRING str); -static int append_ia5(STACK_OF(OPENSSL_STRING) **sk, ASN1_IA5STRING *email); +static int append_ia5(STACK_OF(OPENSSL_STRING) **sk, const ASN1_IA5STRING *email); static int ipv4_from_asc(unsigned char *v4, const char *in); static int ipv6_from_asc(unsigned char *v6, const char *in); @@ -452,7 +452,7 @@ static void str_free(OPENSSL_STRING str) OPENSSL_free(str); } -static int append_ia5(STACK_OF(OPENSSL_STRING) **sk, ASN1_IA5STRING *email) +static int append_ia5(STACK_OF(OPENSSL_STRING) **sk, const ASN1_IA5STRING *email) { char *emtmp; /* First some sanity checks */