projects
/
BearSSL
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added an explicit initialisation to a stack buffer to prevent an (harmless) uninitial...
[BearSSL]
/
inc
/
bearssl_prf.h
diff --git
a/inc/bearssl_prf.h
b/inc/bearssl_prf.h
index
1ad4a04
..
39d1c42
100644
(file)
--- a/
inc/bearssl_prf.h
+++ b/
inc/bearssl_prf.h
@@
-28,6
+28,10
@@
#include <stddef.h>
#include <stdint.h>
#include <stddef.h>
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \file bearssl_prf.h
*
* # The TLS PRF
/** \file bearssl_prf.h
*
* # The TLS PRF
@@
-115,4
+119,8
@@
typedef void (*br_tls_prf_impl)(void *dst, size_t len,
const void *secret, size_t secret_len,
const char *label, const void *seed, size_t seed_len);
const void *secret, size_t secret_len,
const char *label, const void *seed, size_t seed_len);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif