Stash peer certificate before fetching HTTP response
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 17 May 2012 15:41:07 +0000 (16:41 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 17 May 2012 19:22:24 +0000 (20:22 +0100)
commita9a477811b64fa9202e3a869c00e9923c2b96c9f
tree3a94e9e5e73d874a222da086d6edfaca06fb2444
parent628d2c88b6d8cb6415795867152ce83fc3e3a67b
Stash peer certificate before fetching HTTP response

If the server closes the connection by giving an HTTP 1.0-style response,
then the SSL connection will be gone by the time the GUI auth dialog calls
openconnect_get_peer_cert(). So remember it in order to give it out later.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
http.c
library.c
openconnect-internal.h
openconnect.h
ssl.c
www/changelog.xml