summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_vfy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h
index a9cf7e0eda..ed49179133 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.19 2018/02/10 04:33:47 jsing Exp $ */ 1/* $OpenBSD: x509_vfy.h,v 1.20 2018/02/14 17:06:34 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 *
@@ -446,7 +446,11 @@ int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
446void X509_STORE_CTX_free(X509_STORE_CTX *ctx); 446void 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);
450STACK_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);
449void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk); 452void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk);
453void X509_STORE_CTX_set0_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk);
450void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx); 454void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx);
451 455
452X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m); 456X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m);
@@ -512,7 +516,7 @@ void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, unsigned long flags,
512 time_t t); 516 time_t t);
513void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx, 517void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,
514 int (*verify_cb)(int, X509_STORE_CTX *)); 518 int (*verify_cb)(int, X509_STORE_CTX *));
515 519
516X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx); 520X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx);
517int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx); 521int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx);
518 522