aboutsummaryrefslogtreecommitdiff
path: root/inc/bearssl.h
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2023-02-21 06:06:34 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2023-02-21 06:06:34 +0000
commitd84e570b54961e8874bbd8de25635eb96be0977e (patch)
tree071f9723541a35e6fb0534aaa034aa70ac680abe /inc/bearssl.h
parentf6acb9b9f81c96ae7c9592bee1bb89c4357cc3e5 (diff)
Vendor import BearSSL hash 79c060evendor/bearssl/20230220vendor/bearssl
Diffstat (limited to 'inc/bearssl.h')
-rw-r--r--inc/bearssl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/inc/bearssl.h b/inc/bearssl.h
index 4f4797cf7937..310edb258d8d 100644
--- a/inc/bearssl.h
+++ b/inc/bearssl.h
@@ -137,6 +137,10 @@
#include "bearssl_x509.h"
#include "bearssl_pem.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \brief Type for a configuration option.
*
* A "configuration option" is a value that is selected when the BearSSL
@@ -167,4 +171,13 @@ typedef struct {
*/
const br_config_option *br_get_config(void);
+/* ======================================================================= */
+
+/** \brief Version feature: support for time callback. */
+#define BR_FEATURE_X509_TIME_CALLBACK 1
+
+#ifdef __cplusplus
+}
+#endif
+
#endif