From b67c9460bafb71e8f294c6469c15ccd20e65c4c4 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 19 Jun 2015 02:09:27 -0500 Subject: remove unneeded local tls.h patch --- patches/tls.h.patch | 25 ------------------------- update.sh | 5 ++--- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 patches/tls.h.patch 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 @@ ---- include/tls.h.orig 2015-05-23 19:18:30.002576267 -0500 -+++ include/tls.h 2015-05-23 19:18:09.830576581 -0500 -@@ -18,6 +18,13 @@ - #ifndef HEADER_TLS_H - #define HEADER_TLS_H - -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+#include -+#include -+ - #define TLS_API 20141031 - - #define TLS_PROTOCOL_TLSv1_0 (1 << 1) -@@ -88,4 +95,8 @@ - - uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password); - -+#ifdef __cplusplus -+} -+#endif -+ - #endif /* HEADER_TLS_H */ diff --git a/update.sh b/update.sh index 232f029..48acf84 100755 --- a/update.sh +++ b/update.sh @@ -63,9 +63,8 @@ $CP $libssl_src/src/crypto/opensslfeatures.h include/openssl $CP $libssl_src/src/e_os2.h include/openssl $CP $libssl_src/src/ssl/pqueue.h include -$CP $libtls_src/tls.h include/tls.h -patch -p0 < patches/tls.h.patch -$CP include/tls.h libtls-standalone/include +$CP $libtls_src/tls.h include +$CP $libtls_src/tls.h libtls-standalone/include for i in crypto/compat libtls-standalone/compat; do $CP $libc_src/crypt/arc4random.c \ -- cgit v1.2.3-55-g6feb