Deleted Added
full compact
x509_vfy.h (1.54) x509_vfy.h (1.55)
1/* $OpenBSD: x509_vfy.h,v 1.54 2022/07/07 13:01:28 tb Exp $ */
1/* $OpenBSD: x509_vfy.h,v 1.55 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

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

305
306X509_STORE_CTX_verify_cb X509_STORE_get_verify_cb(X509_STORE *);
307
308void X509_STORE_set_verify_cb(X509_STORE *ctx,
309 int (*verify_cb)(int, X509_STORE_CTX *));
310#define X509_STORE_set_verify_cb_func(ctx, func) \
311 X509_STORE_set_verify_cb((ctx), (func))
312
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

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

305
306X509_STORE_CTX_verify_cb X509_STORE_get_verify_cb(X509_STORE *);
307
308void X509_STORE_set_verify_cb(X509_STORE *ctx,
309 int (*verify_cb)(int, X509_STORE_CTX *));
310#define X509_STORE_set_verify_cb_func(ctx, func) \
311 X509_STORE_set_verify_cb((ctx), (func))
312
313#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
314typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx,
315 X509 *subject, X509 *issuer);
316
317X509_STORE_CTX_check_issued_fn X509_STORE_get_check_issued(X509_STORE *store);
318void X509_STORE_set_check_issued(X509_STORE *store,
319 X509_STORE_CTX_check_issued_fn check_issued);
320X509_STORE_CTX_check_issued_fn
321 X509_STORE_CTX_get_check_issued(X509_STORE_CTX *ctx);
322#endif
323
313X509_STORE_CTX *X509_STORE_CTX_new(void);
314
315int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
316
317void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
318int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store,
319 X509 *x509, STACK_OF(X509) *chain);
320X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx);

--- 174 unchanged lines hidden ---
324X509_STORE_CTX *X509_STORE_CTX_new(void);
325
326int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
327
328void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
329int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store,
330 X509 *x509, STACK_OF(X509) *chain);
331X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx);

--- 174 unchanged lines hidden ---