Use openconnect_open_https() and openconnect_close_https() better.
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 28 May 2012 14:55:19 +0000 (15:55 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 28 May 2012 14:55:19 +0000 (15:55 +0100)
commit7616ee4c9a54734d1980a4a7f9be94a5a33b4263
treed881818e298e741117ae32c7235f13462a7019b7
parent1b6e58e558a7d44f314b1e1b4897c1cd7d9b20b1
Use openconnect_open_https() and openconnect_close_https() better.

Use them unconditionally, without checking ->https_ssl first, and use them
in some places instead of open-coding the same thing.

This makes the code slightly more agnostic to the choice of SSL library.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
cstp.c
http.c
library.c