diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509cset.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509cset.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509cset.c b/src/lib/libcrypto/x509/x509cset.c index 3fc31cd519..182dd8a954 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.13 2018/02/22 16:53:42 jsing Exp $ */ | 1 | /* $OpenBSD: x509cset.c,v 1.14 2018/02/22 17:01:44 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 | */ |
| @@ -109,6 +109,12 @@ X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) | |||
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | int | 111 | int |
| 112 | X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) | ||
| 113 | { | ||
| 114 | return X509_CRL_set_lastUpdate(x, tm); | ||
| 115 | } | ||
| 116 | |||
| 117 | int | ||
| 112 | X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) | 118 | X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) |
| 113 | { | 119 | { |
| 114 | ASN1_TIME *in; | 120 | ASN1_TIME *in; |
| @@ -127,6 +133,12 @@ X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) | |||
| 127 | } | 133 | } |
| 128 | 134 | ||
| 129 | int | 135 | int |
| 136 | X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) | ||
| 137 | { | ||
| 138 | return X509_CRL_set_nextUpdate(x, tm); | ||
| 139 | } | ||
| 140 | |||
| 141 | int | ||
| 130 | X509_CRL_sort(X509_CRL *c) | 142 | X509_CRL_sort(X509_CRL *c) |
| 131 | { | 143 | { |
| 132 | int i; | 144 | int i; |
