summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authorjsing <>2026-04-29 15:04:15 +0000
committerjsing <>2026-04-29 15:04:15 +0000
commitdc2d3a2e58818a1cd2370eb926859e774cda4863 (patch)
treefe70d903241b58fb9fc552dd0f9a42cfc0410c70 /src/lib/libcrypto
parent6673b1f6a6bded8786fbe9889614bd84a31e9c16 (diff)
downloadopenbsd-dc2d3a2e58818a1cd2370eb926859e774cda4863.tar.gz
openbsd-dc2d3a2e58818a1cd2370eb926859e774cda4863.tar.bz2
openbsd-dc2d3a2e58818a1cd2370eb926859e774cda4863.zip
Avoid unnecessary lookups in dtls1_retransmit_message().
dtls1_retransmit_buffered_messages() is iterating over the sent_messages pqueue, only to pass dtls1_retransmit_message() a sequence number that it turns back into a priority, to then do a lookup on the sent_messages pqueue. This is pointless given that we already have the message that we need to retransmit - just pass that to dtls1_retransmit_message() directly. ok kenjiro@ tb@
Diffstat (limited to 'src/lib/libcrypto')
0 files changed, 0 insertions, 0 deletions