summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_lu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_lu.c')
-rw-r--r--src/lib/libcrypto/x509/x509_lu.c20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_lu.c b/src/lib/libcrypto/x509/x509_lu.c
index 3a28c06d20..9276a0e2d5 100644
--- a/src/lib/libcrypto/x509/x509_lu.c
+++ b/src/lib/libcrypto/x509/x509_lu.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_lu.c,v 1.25 2018/02/22 17:17:09 jsing Exp $ */ 1/* $OpenBSD: x509_lu.c,v 1.26 2018/02/22 17:19:31 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 *
@@ -748,6 +748,24 @@ X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
748 return ret; 748 return ret;
749} 749}
750 750
751STACK_OF(X509_OBJECT) *
752X509_STORE_get0_objects(X509_STORE *xs)
753{
754 return xs->objs;
755}
756
757void *
758X509_STORE_get_ex_data(X509_STORE *xs, int idx)
759{
760 return CRYPTO_get_ex_data(&xs->ex_data, idx);
761}
762
763int
764X509_STORE_set_ex_data(X509_STORE *xs, int idx, void *data)
765{
766 return CRYPTO_set_ex_data(&xs->ex_data, idx, data);
767}
768
751int 769int
752X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags) 770X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags)
753{ 771{