diff options
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_alt.c')
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_alt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_alt.c b/src/lib/libcrypto/x509v3/v3_alt.c index 4b3755e4e7..75c68d3cdb 100644 --- a/src/lib/libcrypto/x509v3/v3_alt.c +++ b/src/lib/libcrypto/x509v3/v3_alt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: v3_alt.c,v 1.24 2015/07/29 16:13:48 jsing Exp $ */ | 1 | /* $OpenBSD: v3_alt.c,v 1.25 2015/09/30 18:21:50 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project. | 3 | * project. |
4 | */ | 4 | */ |
@@ -439,7 +439,7 @@ copy_email(X509V3_CTX *ctx, GENERAL_NAMES *gens, int move_p) | |||
439 | 439 | ||
440 | err: | 440 | err: |
441 | GENERAL_NAME_free(gen); | 441 | GENERAL_NAME_free(gen); |
442 | M_ASN1_IA5STRING_free(email); | 442 | ASN1_IA5STRING_free(email); |
443 | return 0; | 443 | return 0; |
444 | } | 444 | } |
445 | 445 | ||
@@ -557,7 +557,7 @@ a2i_GENERAL_NAME(GENERAL_NAME *out, const X509V3_EXT_METHOD *method, | |||
557 | } | 557 | } |
558 | 558 | ||
559 | if (is_string) { | 559 | if (is_string) { |
560 | if (!(gen->d.ia5 = M_ASN1_IA5STRING_new()) || | 560 | if (!(gen->d.ia5 = ASN1_IA5STRING_new()) || |
561 | !ASN1_STRING_set(gen->d.ia5, (unsigned char*)value, | 561 | !ASN1_STRING_set(gen->d.ia5, (unsigned char*)value, |
562 | strlen(value))) { | 562 | strlen(value))) { |
563 | X509V3err(X509V3_F_A2I_GENERAL_NAME, | 563 | X509V3err(X509V3_F_A2I_GENERAL_NAME, |