aboutsummaryrefslogtreecommitdiff
path: root/net/tinyldap/files/patch-fmt_tls_clienthello.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tinyldap/files/patch-fmt_tls_clienthello.c')
-rw-r--r--net/tinyldap/files/patch-fmt_tls_clienthello.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/tinyldap/files/patch-fmt_tls_clienthello.c b/net/tinyldap/files/patch-fmt_tls_clienthello.c
new file mode 100644
index 000000000000..2fc4a44aad18
--- /dev/null
+++ b/net/tinyldap/files/patch-fmt_tls_clienthello.c
@@ -0,0 +1,10 @@
+--- fmt_tls_clienthello.c.orig 2015-05-07 23:53:05 UTC
++++ fmt_tls_clienthello.c
+@@ -2,6 +2,7 @@
+ #include "uint16.h"
+ #include "uint32.h"
+ #include <time.h>
++#include <string.h>
+
+ size_t fmt_tls_clienthello(char* dest, struct ssl_context* sc) {
+ size_t hnextlen=sc->servername?strlen(sc->servername)+9:0;