summaryrefslogtreecommitdiff
path: root/lib/qssl.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-08-02 14:42:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-08-02 14:42:16 +0000
commit188b08ca557a73aacf9b7b877ebb1e88aa06f8a9 (patch)
treef81057713c91f53661531cdc3be64950f8557ca9 /lib/qssl.c
parent6f750f3b575bce420666b8115c1db7897dae5f7a (diff)
downloadcurl-188b08ca557a73aacf9b7b877ebb1e88aa06f8a9.tar.gz
Patrick Monnerat's cleanup fix after my alloc-strings commit
Diffstat (limited to 'lib/qssl.c')
-rw-r--r--lib/qssl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/qssl.c b/lib/qssl.c
index 79de7a48e..bbff445f0 100644
--- a/lib/qssl.c
+++ b/lib/qssl.c
@@ -78,10 +78,10 @@ static CURLcode Curl_qsossl_init_session(struct SessionHandle * data)
* We first try to SSL_Init_Application(), then SSL_Init() if it failed.
*/
- certname = data->set.cert;
+ certname = data->set.str[STRING_CERT];
if (!certname) {
- certname = data->set.ssl.CAfile;
+ certname = data->set.str[STRING_SSL_CAFILE];
if (!certname)
return CURLE_OK; /* Use previous setup. */
@@ -96,7 +96,7 @@ static CURLcode Curl_qsossl_init_session(struct SessionHandle * data)
if (rc == SSL_ERROR_NOT_REGISTERED) {
initstr.keyringFileName = certname;
- initstr.keyringPassword = data->set.key;
+ initstr.keyringPassword = data->set.str[STRING_KEY];
initstr.cipherSuiteList = NULL; /* Use default. */
initstr.cipherSuiteListLen = 0;
rc = SSL_Init(&initstr);
@@ -190,7 +190,7 @@ static CURLcode Curl_qsossl_handshake(struct connectdata * conn, int sockindex)
/* Set-up protocol. */
- switch(data->set.ssl.version) {
+ switch (data->set.ssl.version) {
default:
case CURL_SSLVERSION_DEFAULT: