summaryrefslogtreecommitdiff
path: root/packages/wpa-supplicant/wpa-supplicant-0.5.5/gnutlsfix.patch
blob: 795306bb3519deda7919535d7e75ddcb3317e94a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: wpa_supplicant-0.5.5/tls_gnutls.c
===================================================================
--- wpa_supplicant-0.5.5.orig/tls_gnutls.c	2006-06-25 03:05:07.000000000 +0200
+++ wpa_supplicant-0.5.5/tls_gnutls.c	2006-10-29 15:12:21.000000000 +0100
@@ -1029,8 +1029,13 @@
 				     const u8 *in_data, size_t in_len,
 				     size_t *out_len)
 {
+	u8 *appl_data;
+	size_t appl_data_len;
+
+	appl_data = NULL;
+
 	return tls_connection_handshake(ssl_ctx, conn, in_data, in_len,
-					out_len);
+					out_len, appl_data, appl_data_len);
 }