diff options
author | MAntoniak <47522782+MAntoniak@users.noreply.github.com> | 2021-04-29 13:23:03 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-29 23:01:19 +0200 |
commit | 71bffe73f8e09f58954f5ad6a43db3c8479791ce (patch) | |
tree | 87deb17bac06aa38d9661143aed344148d801b28 /lib/vtls | |
parent | a3268eca792f1c2ff8754de3c4094ee9762b2a87 (diff) | |
download | curl-71bffe73f8e09f58954f5ad6a43db3c8479791ce.tar.gz |
gskit: fix undefined reference to 'conn'
Closes #6980
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/gskit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/vtls/gskit.c b/lib/vtls/gskit.c index 15b19a76c..baca3c63c 100644 --- a/lib/vtls/gskit.c +++ b/lib/vtls/gskit.c @@ -302,8 +302,9 @@ static CURLcode set_callback(struct Curl_easy *data, static CURLcode set_ciphers(struct Curl_easy *data, - gsk_handle h, unsigned int *protoflags) + gsk_handle h, unsigned int *protoflags) { + struct connectdata *conn = data->conn; const char *cipherlist = SSL_CONN_CONFIG(cipher_list); const char *clp; const struct gskit_cipher *ctp; @@ -665,6 +666,7 @@ static ssize_t gskit_recv(struct Curl_easy *data, int num, char *buf, static CURLcode set_ssl_version_min_max(unsigned int *protoflags, struct Curl_easy *data) { + struct connectdata *conn = data->conn; long ssl_version = SSL_CONN_CONFIG(version); long ssl_version_max = SSL_CONN_CONFIG(version_max); long i = ssl_version; |