diff options
| author | jsing <> | 2015-09-30 17:49:59 +0000 |
|---|---|---|
| committer | jsing <> | 2015-09-30 17:49:59 +0000 |
| commit | 40e8ba9c4d631b50c0d5d6298e3e88a1fc3b90a8 (patch) | |
| tree | c8d1491e1a80d090dccca52ca188edfa54561da0 /src/lib/libcrypto/x509/x509_set.c | |
| parent | 56c28c591a2d58b6dda7237a4962fc6f6b0eca75 (diff) | |
| download | openbsd-40e8ba9c4d631b50c0d5d6298e3e88a1fc3b90a8.tar.gz openbsd-40e8ba9c4d631b50c0d5d6298e3e88a1fc3b90a8.tar.bz2 openbsd-40e8ba9c4d631b50c0d5d6298e3e88a1fc3b90a8.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 | } |
