projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f546fa6
)
Don't shut down SSL twice
author
David Woodhouse
<David.Woodhouse@intel.com>
Fri, 1 Jan 2010 10:44:41 +0000
(10:44 +0000)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Fri, 1 Jan 2010 10:44:41 +0000
(10:44 +0000)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
http.c
patch
|
blob
|
history
diff --git
a/http.c
b/http.c
index
80eaf1b
..
8e8e581
100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-259,7
+259,7
@@
static int process_http_response(struct openconnect_info *vpninfo, int *result,
break;
}
fin:
- if (closeconn) {
+ if (closeconn
&& vpninfo->https_ssl
) {
SSL_free(vpninfo->https_ssl);
vpninfo->https_ssl = NULL;
close(vpninfo->ssl_fd);