aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-02-28 16:05:38 -0500
committerJay Satiro <raysatiro@yahoo.com>2016-02-28 16:05:38 -0500
commitae7d6b715448101caf99ea3555c7b7448711676e (patch)
treeaa23731fc2196ff542727b4226a7eab61ca07f56 /lib
parent2e0a3b935c8bc8fc8e3267aae7ad50f452ecadb3 (diff)
getinfo: Fix syntax error when mbedTLS
The assignment of the mbedTLS TLS session info in the parent commit was incorrect. Change the assignment to a pointer to the session structure.
Diffstat (limited to 'lib')
-rw-r--r--lib/getinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c
index 117d513a5..39189cb60 100644
--- a/lib/getinfo.c
+++ b/lib/getinfo.c
@@ -307,7 +307,7 @@ static CURLcode getinfo_slist(struct SessionHandle *data, CURLINFO info,
#elif defined(USE_GSKIT)
tsi->internals = (void *)conn->ssl[i].handle;
#elif defined(USE_MBEDTLS)
- tsi->internals = (void *)conn->ssl[i].ssn;
+ tsi->internals = (void *)&conn->ssl[i].ssn;
#elif defined(USE_NSS)
tsi->internals = (void *)conn->ssl[i].handle;
#elif defined(USE_OPENSSL)