Deleted Added
full compact
x509_vfy.c (1.107) x509_vfy.c (1.108)
1/* $OpenBSD: x509_vfy.c,v 1.107 2022/11/26 16:08:55 tb Exp $ */
1/* $OpenBSD: x509_vfy.c,v 1.108 2022/12/01 05:16:08 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *
9 * This library is free for commercial and non-commercial use as long as

--- 2572 unchanged lines hidden (view full) ---

2582
2583void
2584X509_STORE_CTX_set_verify(X509_STORE_CTX *ctx, int (*verify)(X509_STORE_CTX *))
2585{
2586 ctx->verify = verify;
2587}
2588LCRYPTO_ALIAS(X509_STORE_CTX_set_verify)
2589
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *
9 * This library is free for commercial and non-commercial use as long as

--- 2572 unchanged lines hidden (view full) ---

2582
2583void
2584X509_STORE_CTX_set_verify(X509_STORE_CTX *ctx, int (*verify)(X509_STORE_CTX *))
2585{
2586 ctx->verify = verify;
2587}
2588LCRYPTO_ALIAS(X509_STORE_CTX_set_verify)
2589
2590X509_STORE_CTX_check_issued_fn
2591X509_STORE_get_check_issued(X509_STORE *store)
2592{
2593 return store->check_issued;
2594}
2595LCRYPTO_ALIAS(X509_STORE_get_check_issued)
2596
2597void
2598X509_STORE_set_check_issued(X509_STORE *store,
2599 X509_STORE_CTX_check_issued_fn check_issued)
2600{
2601 store->check_issued = check_issued;
2602}
2603LCRYPTO_ALIAS(X509_STORE_set_check_issued)
2604
2605X509_STORE_CTX_check_issued_fn
2606X509_STORE_CTX_get_check_issued(X509_STORE_CTX *ctx)
2607{
2608 return ctx->check_issued;
2609}
2610LCRYPTO_ALIAS(X509_STORE_CTX_get_check_issued)
2611
2590X509 *
2591X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx)
2592{
2593 return ctx->cert;
2594}
2595LCRYPTO_ALIAS(X509_STORE_CTX_get0_cert)
2596
2597STACK_OF(X509) *

--- 194 unchanged lines hidden ---
2612X509 *
2613X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx)
2614{
2615 return ctx->cert;
2616}
2617LCRYPTO_ALIAS(X509_STORE_CTX_get0_cert)
2618
2619STACK_OF(X509) *

--- 194 unchanged lines hidden ---