diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h index 98b1cf5e92..e00db3a7af 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.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) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -310,6 +310,17 @@ void X509_STORE_set_verify_cb(X509_STORE *ctx, | |||
310 | #define X509_STORE_set_verify_cb_func(ctx, func) \ | 310 | #define X509_STORE_set_verify_cb_func(ctx, func) \ |
311 | X509_STORE_set_verify_cb((ctx), (func)) | 311 | X509_STORE_set_verify_cb((ctx), (func)) |
312 | 312 | ||
313 | #if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API) | ||
314 | typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx, | ||
315 | X509 *subject, X509 *issuer); | ||
316 | |||
317 | X509_STORE_CTX_check_issued_fn X509_STORE_get_check_issued(X509_STORE *store); | ||
318 | void X509_STORE_set_check_issued(X509_STORE *store, | ||
319 | X509_STORE_CTX_check_issued_fn check_issued); | ||
320 | X509_STORE_CTX_check_issued_fn | ||
321 | X509_STORE_CTX_get_check_issued(X509_STORE_CTX *ctx); | ||
322 | #endif | ||
323 | |||
313 | X509_STORE_CTX *X509_STORE_CTX_new(void); | 324 | X509_STORE_CTX *X509_STORE_CTX_new(void); |
314 | 325 | ||
315 | int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); | 326 | int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); |