projects
/
BearSSL
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When using Clang, use it also for linking (compatibility with core FreeBSD systems).
[BearSSL]
/
inc
/
bearssl_ssl.h
diff --git
a/inc/bearssl_ssl.h
b/inc/bearssl_ssl.h
index
fee7b3c
..
21d162b
100644
(file)
--- a/
inc/bearssl_ssl.h
+++ b/
inc/bearssl_ssl.h
@@
-35,6
+35,10
@@
#include "bearssl_rand.h"
#include "bearssl_x509.h"
#include "bearssl_rand.h"
#include "bearssl_x509.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \file bearssl_ssl.h
*
* # SSL
/** \file bearssl_ssl.h
*
* # SSL
@@
-4065,4
+4069,8
@@
int br_sslio_close(br_sslio_context *cc);
#define BR_ALERT_UNSUPPORTED_EXTENSION 110
#define BR_ALERT_NO_APPLICATION_PROTOCOL 120
#define BR_ALERT_UNSUPPORTED_EXTENSION 110
#define BR_ALERT_NO_APPLICATION_PROTOCOL 120
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif