diff options
author | jsing <> | 2015-09-30 17:49:59 +0000 |
---|---|---|
committer | jsing <> | 2015-09-30 17:49:59 +0000 |
commit | da3eb82aa9ab17870adc2479f9053b8d8805b853 (patch) | |
tree | c8d1491e1a80d090dccca52ca188edfa54561da0 /src/lib/libcrypto/x509/x509_set.c | |
parent | 1c7e31c2bbb07475f068a459f144cb492d148ec2 (diff) | |
download | openbsd-da3eb82aa9ab17870adc2479f9053b8d8805b853.tar.gz openbsd-da3eb82aa9ab17870adc2479f9053b8d8805b853.tar.bz2 openbsd-da3eb82aa9ab17870adc2479f9053b8d8805b853.zip |
s/M_ASN1_TIME_free/ASN1_TIME_free/
Diffstat (limited to 'src/lib/libcrypto/x509/x509_set.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_set.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_set.c b/src/lib/libcrypto/x509/x509_set.c index e77b49ea95..aeaf161024 100644 --- a/src/lib/libcrypto/x509/x509_set.c +++ b/src/lib/libcrypto/x509/x509_set.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_set.c,v 1.11 2015/09/30 17:30:16 jsing Exp $ */ | 1 | /* $OpenBSD: x509_set.c,v 1.12 2015/09/30 17:49:59 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -120,7 +120,7 @@ X509_set_notBefore(X509 *x, const ASN1_TIME *tm) | |||
120 | if (in != tm) { | 120 | if (in != tm) { |
121 | in = ASN1_STRING_dup(tm); | 121 | in = ASN1_STRING_dup(tm); |
122 | if (in != NULL) { | 122 | if (in != NULL) { |
123 | M_ASN1_TIME_free(x->cert_info->validity->notBefore); | 123 | ASN1_TIME_free(x->cert_info->validity->notBefore); |
124 | x->cert_info->validity->notBefore = in; | 124 | x->cert_info->validity->notBefore = in; |
125 | } | 125 | } |
126 | } | 126 | } |
@@ -138,7 +138,7 @@ X509_set_notAfter(X509 *x, const ASN1_TIME *tm) | |||
138 | if (in != tm) { | 138 | if (in != tm) { |
139 | in = ASN1_STRING_dup(tm); | 139 | in = ASN1_STRING_dup(tm); |
140 | if (in != NULL) { | 140 | if (in != NULL) { |
141 | M_ASN1_TIME_free(x->cert_info->validity->notAfter); | 141 | ASN1_TIME_free(x->cert_info->validity->notAfter); |
142 | x->cert_info->validity->notAfter = in; | 142 | x->cert_info->validity->notAfter = in; |
143 | } | 143 | } |
144 | } | 144 | } |