]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Factor out keycert loading
authorTom Carroll <incentivedesign@gmail.com>
Fri, 24 Apr 2020 06:15:59 +0000 (23:15 -0700)
committerTom Carroll <incentivedesign@gmail.com>
Wed, 6 May 2020 05:59:44 +0000 (22:59 -0700)
commitfd1450c084a8478a74ca5890a9c9853897f8f702
tree90cfafb54565b9bff82701b643e10256ed019dac
parent6ff1b5148d87ffee89030591ee9497e851164270
Factor out keycert loading

The objective is to have load_keycert fetch credentials for both
establishing the TLS session and responding to the multicert auth
challenge. The main changes are: load_keycert that is parameterized by
key_path, cert_path, and password; have secondary functions
parameterized by password; load_certificate stub to call load_keycert
and match caller impedance, including maintaining
gnutls_certificate_credentials and gnutls_session dependencies.

Signed-off-by: Tom Carroll <incentivedesign@gmail.com>
gnutls.c