]> granicus.if.org Git - curl/commit
vtls: prepare the SSL backends for encapsulated private data
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 21 Jun 2017 10:41:18 +0000 (12:41 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Aug 2017 12:56:58 +0000 (14:56 +0200)
commitd65e6cc4fc9f68da4cbf8788c27714622ef9eead
tree83999835de729324d3c447d3b3135835885bc84f
parent20c6cf7e951e70d4c456bd4171b9f25f04f23a87
vtls: prepare the SSL backends for encapsulated private data

At the moment, cURL's SSL backend needs to be configured at build time.
As such, it is totally okay for them to hard-code their backend-specific
data in the ssl_connect_data struct.

In preparation for making the SSL backend a runtime option, let's make
the access of said private data a bit more abstract so that it can be
adjusted later in an easy manner.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
lib/vtls/axtls.c
lib/vtls/cyassl.c
lib/vtls/darwinssl.c
lib/vtls/gskit.c
lib/vtls/gtls.c
lib/vtls/mbedtls.c
lib/vtls/nss.c
lib/vtls/openssl.c
lib/vtls/polarssl.c
lib/vtls/schannel.c