Added BlueZ build scripts
[ti-bt/build-utils.git] / patches / 0001-obexd-ftp-and-opp-cancel-security.patch
1 From c3ed238ea7767dd7b8c1e17ce8b3db987f282d7a Mon Sep 17 00:00:00 2001
2 From: Vita Preskovsky <vitap@ti.com>
3 Date: Sun, 11 Nov 2012 17:31:42 +0200
4 Subject: [PATCH] obexd: ftp and opp cancel security
6 ---
7  plugins/ftp.c |    2 +-
8  plugins/opp.c |    3 ++-
9  2 files changed, 3 insertions(+), 2 deletions(-)
11 diff --git a/plugins/ftp.c b/plugins/ftp.c
12 index ff4b761..1358b9f 100644
13 --- a/plugins/ftp.c
14 +++ b/plugins/ftp.c
15 @@ -521,7 +521,7 @@ static struct obex_service_driver ftp = {
16         .service = OBEX_FTP,
17         .channel = FTP_CHANNEL,
18         .port = OBEX_PORT_RANDOM,
19 -       .secure = TRUE,
20 +       .secure = FALSE,
21         .record = FTP_RECORD,
22         .target = FTP_TARGET,
23         .target_size = TARGET_SIZE,
24 diff --git a/plugins/opp.c b/plugins/opp.c
25 index c7ddc63..4b5b8ab 100644
26 --- a/plugins/opp.c
27 +++ b/plugins/opp.c
28 @@ -228,7 +228,8 @@ static struct obex_service_driver driver = {
29         .get = opp_get,
30         .put = opp_put,
31         .chkput = opp_chkput,
32 -       .reset = opp_reset
33 +       .reset = opp_reset,
34 +       .secure = FALSE
35  };
36  
37  static int opp_init(void)
38 -- 
39 1.7.9.5