aboutsummaryrefslogtreecommitdiff
path: root/inc/bearssl.h
diff options
context:
space:
mode:
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