Fixed mishandling of tree structure in the cache for session parameters.
[BearSSL] / inc / bearssl_x509.h
index 2463c79..1f55b4e 100644 (file)
 #include "bearssl_hash.h"
 #include "bearssl_rsa.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /** \file bearssl_x509.h
  *
  * # X.509 Certificate Chain Processing
@@ -1245,4 +1249,8 @@ br_skey_decoder_get_ec(const br_skey_decoder_context *ctx)
        }
 }
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif