summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2017-03-04 16:32:00 +0000
committerjsing <>2017-03-04 16:32:00 +0000
commitf577988189e230bde2109492b5e88f68be9e70aa (patch)
treec02fc89f7110067633e42d3d712773bce31ccaed /src/lib/libssl/ssl_locl.h
parent1f1afc6cbcd63106aed19c1803381ba73c23a55f (diff)
downloadopenbsd-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.h7
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);
1186int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); 1186int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek);
1187int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, 1187int ssl3_write_pending(SSL *s, int type, const unsigned char *buf,
1188 unsigned int len); 1188 unsigned int len);
1189unsigned char *dtls1_set_message_header(SSL *s, unsigned char *p, 1189void 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
1193int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf, int len); 1192int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf, int len);
1194int dtls1_write_bytes(SSL *s, int type, const void *buf, int len); 1193int dtls1_write_bytes(SSL *s, int type, const void *buf, int len);