summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_vfy.h
diff options
context:
space:
mode:
authorjsing <>2018-02-22 17:11:30 +0000
committerjsing <>2018-02-22 17:11:30 +0000
commitdc18b99a087245f0dff9151ef1568c40cdbc5f5b (patch)
tree66c4637bce20d46b0ef21598cda39b58ae0dda8e /src/lib/libcrypto/x509/x509_vfy.h
parent638272e9dee92abeb527a8cf07528a81219edc22 (diff)
downloadopenbsd-dc18b99a087245f0dff9151ef1568c40cdbc5f5b.tar.gz
openbsd-dc18b99a087245f0dff9151ef1568c40cdbc5f5b.tar.bz2
openbsd-dc18b99a087245f0dff9151ef1568c40cdbc5f5b.zip
Provide X509_STORE_CTX_get0_chain() and X509_STORE_CTX_get0_store().
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h
index ed49179133..47a1ec6792 100644
--- a/src/lib/libcrypto/x509/x509_vfy.h
+++ b/src/lib/libcrypto/x509/x509_vfy.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_vfy.h,v 1.20 2018/02/14 17:06:34 jsing Exp $ */ 1/* $OpenBSD: x509_vfy.h,v 1.21 2018/02/22 17:11:30 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 *
@@ -447,6 +447,8 @@ void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
447int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, 447int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store,
448 X509 *x509, STACK_OF(X509) *chain); 448 X509 *x509, STACK_OF(X509) *chain);
449X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx); 449X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx);
450STACK_OF(X509) *X509_STORE_CTX_get0_chain(X509_STORE_CTX *xs);
451X509_STORE *X509_STORE_CTX_get0_store(X509_STORE_CTX *xs);
450STACK_OF(X509) *X509_STORE_CTX_get0_untrusted(X509_STORE_CTX *ctx); 452STACK_OF(X509) *X509_STORE_CTX_get0_untrusted(X509_STORE_CTX *ctx);
451void X509_STORE_CTX_set0_untrusted(X509_STORE_CTX *ctx, STACK_OF(X509) *sk); 453void X509_STORE_CTX_set0_untrusted(X509_STORE_CTX *ctx, STACK_OF(X509) *sk);
452void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk); 454void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk);