Fixed proper handling of clients with no "secure renegotiation" support.
[BearSSL] / inc / bearssl_hmac.h
index 71e9451..511dbbe 100644 (file)
 
 #include "bearssl_hash.h"
 
 
 #include "bearssl_hash.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /** \file bearssl_hmac.h
  *
  * # HMAC
 /** \file bearssl_hmac.h
  *
  * # HMAC
@@ -200,4 +204,8 @@ size_t br_hmac_outCT(const br_hmac_context *ctx,
        const void *data, size_t len, size_t min_len, size_t max_len,
        void *out);
 
        const void *data, size_t len, size_t min_len, size_t max_len,
        void *out);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
 #endif