diff options
author | jsing <> | 2018-02-22 17:11:30 +0000 |
---|---|---|
committer | jsing <> | 2018-02-22 17:11:30 +0000 |
commit | dc18b99a087245f0dff9151ef1568c40cdbc5f5b (patch) | |
tree | 66c4637bce20d46b0ef21598cda39b58ae0dda8e /src/lib/libcrypto/x509/x509_vfy.h | |
parent | 638272e9dee92abeb527a8cf07528a81219edc22 (diff) | |
download | openbsd-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.h | 4 |
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); | |||
447 | int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, | 447 | int 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); |
449 | X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx); | 449 | X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx); |
450 | STACK_OF(X509) *X509_STORE_CTX_get0_chain(X509_STORE_CTX *xs); | ||
451 | X509_STORE *X509_STORE_CTX_get0_store(X509_STORE_CTX *xs); | ||
450 | STACK_OF(X509) *X509_STORE_CTX_get0_untrusted(X509_STORE_CTX *ctx); | 452 | STACK_OF(X509) *X509_STORE_CTX_get0_untrusted(X509_STORE_CTX *ctx); |
451 | void X509_STORE_CTX_set0_untrusted(X509_STORE_CTX *ctx, STACK_OF(X509) *sk); | 453 | void X509_STORE_CTX_set0_untrusted(X509_STORE_CTX *ctx, STACK_OF(X509) *sk); |
452 | void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk); | 454 | void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk); |