Move peer_cert handling to openconnect_open_https()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 29 May 2012 11:33:08 +0000 (12:33 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 29 May 2012 11:33:12 +0000 (12:33 +0100)
commit6edabd71b5636e9bddc38b6b5a2b4a157bd43ba5
tree872d6aa40944988afb59e60e2c3821245579606a
parentb7dae7c08f6bfb7a251f16169b7c2abaa768ffe4
Move peer_cert handling to openconnect_open_https()

There's no real need to do this in openconnect_obtain_cookie(). It doesn't
really matter if we do it for other connections, since any connections we
make *after* obtaining the cookie will be to the same server anyway.

This moves another OpenSSL-specific snippet out of what should be generic
code.

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