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/ssl_locl.h | |
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/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 59f6104391..deabb58894 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_locl.h,v 1.175 2017/02/28 14:08:49 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.176 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 | * |
@@ -1186,9 +1186,8 @@ int ssl_server_legacy_first_packet(SSL *s); | |||
1186 | int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); | 1186 | int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); |
1187 | int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, | 1187 | int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, |
1188 | unsigned int len); | 1188 | unsigned int len); |
1189 | unsigned char *dtls1_set_message_header(SSL *s, unsigned char *p, | 1189 | void dtls1_set_message_header(SSL *s, unsigned char mt, unsigned long len, |
1190 | unsigned char mt, unsigned long len, unsigned long frag_off, | 1190 | unsigned long frag_off, unsigned long frag_len); |
1191 | unsigned long frag_len); | ||
1192 | 1191 | ||
1193 | int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf, int len); | 1192 | int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf, int len); |
1194 | int dtls1_write_bytes(SSL *s, int type, const void *buf, int len); | 1193 | int dtls1_write_bytes(SSL *s, int type, const void *buf, int len); |