summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/tls13_lib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libssl/tls13_lib.c b/src/lib/libssl/tls13_lib.c
index fb75419ac5..60fa372944 100644
--- a/src/lib/libssl/tls13_lib.c
+++ b/src/lib/libssl/tls13_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls13_lib.c,v 1.9 2019/02/28 18:20:38 jsing Exp $ */ 1/* $OpenBSD: tls13_lib.c,v 1.10 2019/03/04 16:46:44 millert Exp $ */
2/* 2/*
3 * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -267,9 +267,10 @@ tls13_legacy_read_bytes(SSL *ssl, int type, unsigned char *buf, int len, int pee
267} 267}
268 268
269int 269int
270tls13_legacy_write_bytes(SSL *ssl, int type, const void *buf, int len) 270tls13_legacy_write_bytes(SSL *ssl, int type, const void *vbuf, int len)
271{ 271{
272 struct tls13_ctx *ctx = ssl->internal->tls13; 272 struct tls13_ctx *ctx = ssl->internal->tls13;
273 const uint8_t *buf = vbuf;
273 size_t n, sent; 274 size_t n, sent;
274 ssize_t ret; 275 ssize_t ret;
275 276