aboutsummaryrefslogtreecommitdiff
path: root/lib/polarssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/polarssl.c')
-rw-r--r--lib/polarssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/polarssl.c b/lib/polarssl.c
index 0027e31e0..285b3ae04 100644
--- a/lib/polarssl.c
+++ b/lib/polarssl.c
@@ -302,8 +302,8 @@ Curl_polarssl_connect(struct connectdata *conn,
}
conn->ssl[sockindex].state = ssl_connection_complete;
- conn->recv = polarssl_recv;
- conn->send = polarssl_send;
+ conn->recv[sockindex] = polarssl_recv;
+ conn->send[sockindex] = polarssl_send;
/* Save the current session data for possible re-use */
{