diff options
author | jsing <> | 2017-03-04 16:32:00 +0000 |
---|---|---|
committer | jsing <> | 2017-03-04 16:32:00 +0000 |
commit | f577988189e230bde2109492b5e88f68be9e70aa (patch) | |
tree | c02fc89f7110067633e42d3d712773bce31ccaed /src/lib/libssl/s3_lib.c | |
parent | 1f1afc6cbcd63106aed19c1803381ba73c23a55f (diff) | |
download | openbsd-f577988189e230bde2109492b5e88f68be9e70aa.tar.gz openbsd-f577988189e230bde2109492b5e88f68be9e70aa.tar.bz2 openbsd-f577988189e230bde2109492b5e88f68be9e70aa.zip |
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...
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
-rw-r--r-- | src/lib/libssl/s3_lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
1 | /* $OpenBSD: s3_lib.c,v 1.135 2017/02/07 02:08:38 beck Exp $ */ | 1 | /* $OpenBSD: s3_lib.c,v 1.136 2017/03/04 16:32:00 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1722,7 +1722,7 @@ ssl3_handshake_msg_finish(SSL *s, unsigned int len) | |||
1722 | s->internal->init_off = 0; | 1722 | s->internal->init_off = 0; |
1723 | 1723 | ||
1724 | if (SSL_IS_DTLS(s)) { | 1724 | if (SSL_IS_DTLS(s)) { |
1725 | dtls1_set_message_header(s, d, msg_type, len, 0, len); | 1725 | dtls1_set_message_header(s, msg_type, len, 0, len); |
1726 | dtls1_buffer_message(s, 0); | 1726 | dtls1_buffer_message(s, 0); |
1727 | } | 1727 | } |
1728 | } | 1728 | } |
@@ -1785,7 +1785,7 @@ ssl3_handshake_msg_finish_cbb(SSL *s, CBB *handshake) | |||
1785 | 1785 | ||
1786 | len = outlen - ssl3_handshake_msg_hdr_len(s); | 1786 | len = outlen - ssl3_handshake_msg_hdr_len(s); |
1787 | 1787 | ||
1788 | dtls1_set_message_header(s, data, msg_type, len, 0, len); | 1788 | dtls1_set_message_header(s, msg_type, len, 0, len); |
1789 | dtls1_buffer_message(s, 0); | 1789 | dtls1_buffer_message(s, 0); |
1790 | } | 1790 | } |
1791 | 1791 | ||