summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2026-04-29 15:00:53 +0000
committerjsing <>2026-04-29 15:00:53 +0000
commit6673b1f6a6bded8786fbe9889614bd84a31e9c16 (patch)
tree98dce53e2d650abff8848466120c89b6b1826a8f /src
parenta8e84d07d57a010e5209bf1bc34bb670beefeea6 (diff)
downloadopenbsd-6673b1f6a6bded8786fbe9889614bd84a31e9c16.tar.gz
openbsd-6673b1f6a6bded8786fbe9889614bd84a31e9c16.tar.bz2
openbsd-6673b1f6a6bded8786fbe9889614bd84a31e9c16.zip
Remove unused frag_off argument from dtls1_retransmit_message().
ok kenjiro@ tb@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/d1_both.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c
index 7410456452..a80f26b31a 100644
--- a/src/lib/libssl/d1_both.c
+++ b/src/lib/libssl/d1_both.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_both.c,v 1.88 2026/04/29 14:59:26 jsing Exp $ */ 1/* $OpenBSD: d1_both.c,v 1.89 2026/04/29 15:00:53 jsing Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -899,8 +899,7 @@ dtls1_get_queue_priority(unsigned short seq, int is_ccs)
899} 899}
900 900
901static int 901static int
902dtls1_retransmit_message(SSL *s, unsigned short seq, unsigned long frag_off, 902dtls1_retransmit_message(SSL *s, unsigned short seq, int *found)
903 int *found)
904{ 903{
905 int ret; 904 int ret;
906 /* XDTLS: for now assuming that read/writes are blocking */ 905 /* XDTLS: for now assuming that read/writes are blocking */
@@ -988,7 +987,7 @@ dtls1_retransmit_buffered_messages(SSL *s)
988 frag = (hm_fragment *)item->data; 987 frag = (hm_fragment *)item->data;
989 if (dtls1_retransmit_message(s, 988 if (dtls1_retransmit_message(s,
990 (unsigned short)dtls1_get_queue_priority( 989 (unsigned short)dtls1_get_queue_priority(
991 frag->msg_header.seq, frag->msg_header.is_ccs), 0, 990 frag->msg_header.seq, frag->msg_header.is_ccs),
992 &found) <= 0 && found) { 991 &found) <= 0 && found) {
993#ifdef DEBUG 992#ifdef DEBUG
994 fprintf(stderr, "dtls1_retransmit_message() failed\n"); 993 fprintf(stderr, "dtls1_retransmit_message() failed\n");