aboutsummaryrefslogtreecommitdiff
path: root/lib/gtls.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gtls.c')
-rw-r--r--lib/gtls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gtls.c b/lib/gtls.c
index 6e762f161..89a8079bf 100644
--- a/lib/gtls.c
+++ b/lib/gtls.c
@@ -607,9 +607,9 @@ Curl_gtls_connect(struct connectdata *conn,
/* return number of sent (non-SSL) bytes */
ssize_t Curl_gtls_send(struct connectdata *conn,
- int sockindex,
- void *mem,
- size_t len)
+ int sockindex,
+ const void *mem,
+ size_t len)
{
ssize_t rc = gnutls_record_send(conn->ssl[sockindex].session, mem, len);