From f577988189e230bde2109492b5e88f68be9e70aa Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 4 Mar 2017 16:32:00 +0000 Subject: Drop the second argument of dtls1_set_message_header() and make it a void function. Nothing makes use of the return value and the second argument was only used to produce the return value... --- src/lib/libssl/s3_lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libssl/s3_lib.c') diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c index d18a2388c3..3f09834ab1 100644 --- a/src/lib/libssl/s3_lib.c +++ b/src/lib/libssl/s3_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_lib.c,v 1.135 2017/02/07 02:08:38 beck Exp $ */ +/* $OpenBSD: s3_lib.c,v 1.136 2017/03/04 16:32:00 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1722,7 +1722,7 @@ ssl3_handshake_msg_finish(SSL *s, unsigned int len) s->internal->init_off = 0; if (SSL_IS_DTLS(s)) { - dtls1_set_message_header(s, d, msg_type, len, 0, len); + dtls1_set_message_header(s, msg_type, len, 0, len); dtls1_buffer_message(s, 0); } } @@ -1785,7 +1785,7 @@ ssl3_handshake_msg_finish_cbb(SSL *s, CBB *handshake) len = outlen - ssl3_handshake_msg_hdr_len(s); - dtls1_set_message_header(s, data, msg_type, len, 0, len); + dtls1_set_message_header(s, msg_type, len, 0, len); dtls1_buffer_message(s, 0); } -- cgit v1.2.3-55-g6feb