summaryrefslogtreecommitdiff
path: root/lib/getinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getinfo.c')
-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)