diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/x509/x509cset.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509cset.c b/src/lib/libcrypto/x509/x509cset.c index a0fbdfbc3b..afc1f0f2b3 100644 --- a/src/lib/libcrypto/x509/x509cset.c +++ b/src/lib/libcrypto/x509/x509cset.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509cset.c,v 1.10 2015/09/30 17:30:16 jsing Exp $ */ | 1 | /* $OpenBSD: x509cset.c,v 1.11 2015/09/30 17:49:59 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 2001. | 3 | * project 2001. |
| 4 | */ | 4 | */ |
| @@ -94,7 +94,7 @@ X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) | |||
| 94 | if (in != tm) { | 94 | if (in != tm) { |
| 95 | in = ASN1_STRING_dup(tm); | 95 | in = ASN1_STRING_dup(tm); |
| 96 | if (in != NULL) { | 96 | if (in != NULL) { |
| 97 | M_ASN1_TIME_free(x->crl->lastUpdate); | 97 | ASN1_TIME_free(x->crl->lastUpdate); |
| 98 | x->crl->lastUpdate = in; | 98 | x->crl->lastUpdate = in; |
| 99 | } | 99 | } |
| 100 | } | 100 | } |
| @@ -112,7 +112,7 @@ X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) | |||
| 112 | if (in != tm) { | 112 | if (in != tm) { |
| 113 | in = ASN1_STRING_dup(tm); | 113 | in = ASN1_STRING_dup(tm); |
| 114 | if (in != NULL) { | 114 | if (in != NULL) { |
| 115 | M_ASN1_TIME_free(x->crl->nextUpdate); | 115 | ASN1_TIME_free(x->crl->nextUpdate); |
| 116 | x->crl->nextUpdate = in; | 116 | x->crl->nextUpdate = in; |
| 117 | } | 117 | } |
| 118 | } | 118 | } |
| @@ -147,7 +147,7 @@ X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) | |||
| 147 | if (in != tm) { | 147 | if (in != tm) { |
| 148 | in = ASN1_STRING_dup(tm); | 148 | in = ASN1_STRING_dup(tm); |
| 149 | if (in != NULL) { | 149 | if (in != NULL) { |
| 150 | M_ASN1_TIME_free(x->revocationDate); | 150 | ASN1_TIME_free(x->revocationDate); |
| 151 | x->revocationDate = in; | 151 | x->revocationDate = in; |
| 152 | } | 152 | } |
| 153 | } | 153 | } |
