From 4fe59287f5e4c7d1095705ae9b55651ca0d75930 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 12 Jan 2014 14:05:39 +0100 Subject: [PATCH] removed vpn-client-pkg-version which didn't seem to affect anything. --- src/worker-auth.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/worker-auth.c b/src/worker-auth.c index 05d85262..23b905e4 100644 --- a/src/worker-auth.c +++ b/src/worker-auth.c @@ -49,8 +49,6 @@ #define SUCCESS_MSG_FOOT "\n" -#define CONFIG_MSG "0,0,0000\n" - static const char login_msg_user[] = "\n" "\n" @@ -465,9 +463,6 @@ int post_common_handler(worker_st * ws, unsigned http_ver) } size += (sizeof(SUCCESS_MSG_HEAD) - 1) + (sizeof(SUCCESS_MSG_FOOT) - 1); -#ifdef ANYCONNECT_CLIENT_COMPAT - size += sizeof(CONFIG_MSG) - 1; -#endif ret = tls_printf(ws->session, "Content-Length: %u\r\n", (unsigned)size); if (ret < 0) @@ -514,12 +509,6 @@ int post_common_handler(worker_st * ws, unsigned http_ver) if (ret < 0) return -1; -#ifdef ANYCONNECT_CLIENT_COMPAT - ret = tls_send(ws->session, CONFIG_MSG, sizeof(CONFIG_MSG) - 1); - if (ret < 0) - return -1; -#endif - ret = tls_uncork(ws->session); if (ret < 0) return -1;