summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509cset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509cset.c')
-rw-r--r--src/lib/libcrypto/x509/x509cset.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509cset.c b/src/lib/libcrypto/x509/x509cset.c
index 182dd8a954..98fbdc2025 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.14 2018/02/22 17:01:44 jsing Exp $ */ 1/* $OpenBSD: x509cset.c,v 1.15 2021/10/23 11:56:10 tb 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 */
@@ -208,3 +208,10 @@ X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial)
208 } 208 }
209 return (in != NULL); 209 return (in != NULL);
210} 210}
211
212int
213i2d_re_X509_CRL_tbs(X509_CRL *crl, unsigned char **pp)
214{
215 crl->crl->enc.modified = 1;
216 return i2d_X509_CRL_INFO(crl->crl, pp);
217}