diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/tls.h.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/patches/tls.h.patch b/patches/tls.h.patch deleted file mode 100644 index e537132..0000000 --- a/patches/tls.h.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | --- include/tls.h.orig 2015-05-23 19:18:30.002576267 -0500 | ||
2 | +++ include/tls.h 2015-05-23 19:18:09.830576581 -0500 | ||
3 | @@ -18,6 +18,13 @@ | ||
4 | #ifndef HEADER_TLS_H | ||
5 | #define HEADER_TLS_H | ||
6 | |||
7 | +#ifdef __cplusplus | ||
8 | +extern "C" { | ||
9 | +#endif | ||
10 | + | ||
11 | +#include <stddef.h> | ||
12 | +#include <stdint.h> | ||
13 | + | ||
14 | #define TLS_API 20141031 | ||
15 | |||
16 | #define TLS_PROTOCOL_TLSv1_0 (1 << 1) | ||
17 | @@ -88,4 +95,8 @@ | ||
18 | |||
19 | uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password); | ||
20 | |||
21 | +#ifdef __cplusplus | ||
22 | +} | ||
23 | +#endif | ||
24 | + | ||
25 | #endif /* HEADER_TLS_H */ | ||