Expose various X509_STORE_*check_issued()
authortb <tb@openbsd.org>
Fri, 10 Mar 2023 16:44:07 +0000 (16:44 +0000)
committertb <tb@openbsd.org>
Fri, 10 Mar 2023 16:44:07 +0000 (16:44 +0000)
lib/libcrypto/x509/x509_vfy.h

index 27ed484..9e3c263 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_vfy.h,v 1.57 2022/12/26 07:18:53 jmc Exp $ */
+/* $OpenBSD: x509_vfy.h,v 1.58 2023/03/10 16:44:07 tb Exp $ */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -310,7 +310,6 @@ void X509_STORE_set_verify_cb(X509_STORE *ctx,
 #define X509_STORE_set_verify_cb_func(ctx, func) \
     X509_STORE_set_verify_cb((ctx), (func))
 
-#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
 typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx,
     X509 *subject, X509 *issuer);
 
@@ -319,7 +318,6 @@ void X509_STORE_set_check_issued(X509_STORE *store,
     X509_STORE_CTX_check_issued_fn check_issued);
 X509_STORE_CTX_check_issued_fn
     X509_STORE_CTX_get_check_issued(X509_STORE_CTX *ctx);
-#endif
 
 X509_STORE_CTX *X509_STORE_CTX_new(void);