projects
/
BearSSL
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extra Makefile hack for compatibility with OpenBSD 'make'.
[BearSSL]
/
inc
/
bearssl_rand.h
diff --git
a/inc/bearssl_rand.h
b/inc/bearssl_rand.h
index
2cc9ace
..
59628fb
100644
(file)
--- a/
inc/bearssl_rand.h
+++ b/
inc/bearssl_rand.h
@@
-28,6
+28,10
@@
#include <stddef.h>
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \file bearssl_rand.h
*
* # Pseudo-Random Generators
@@
-249,4
+253,8
@@
br_hmac_drbg_get_hash(const br_hmac_drbg_context *ctx)
return ctx->digest_class;
}
+#ifdef __cplusplus
+}
+#endif
+
#endif