diff options
author | jsing <> | 2018-02-22 17:01:44 +0000 |
---|---|---|
committer | jsing <> | 2018-02-22 17:01:44 +0000 |
commit | 6a8a8c750ccba69c261bfe0e0c3cc4d99e982304 (patch) | |
tree | 5b52b34b36124022901a9666b38c18fdb63f55f8 /src/lib/libcrypto/x509/x509cset.c | |
parent | 8c2c77439a4e7093f11e47ff90c661fc74fc423a (diff) | |
download | openbsd-6a8a8c750ccba69c261bfe0e0c3cc4d99e982304.tar.gz openbsd-6a8a8c750ccba69c261bfe0e0c3cc4d99e982304.tar.bz2 openbsd-6a8a8c750ccba69c261bfe0e0c3cc4d99e982304.zip |
Provide X509_CRL_set1_lastUpdate() and X509_CRL_set1_nextUpdate().
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; |