diff options
author | tb <> | 2020-09-26 07:36:51 +0000 |
---|---|---|
committer | tb <> | 2020-09-26 07:36:51 +0000 |
commit | 4284d3c95b72551c4d0f88087d7ef3e863d48e86 (patch) | |
tree | 48486280532a41742d81deaf5c02364e8258b21e /src/lib/libssl/ssl_lib.c | |
parent | 3e6655fb0b20e8ae2d4546bab15df8fe320eec75 (diff) | |
download | openbsd-4284d3c95b72551c4d0f88087d7ef3e863d48e86.tar.gz openbsd-4284d3c95b72551c4d0f88087d7ef3e863d48e86.tar.bz2 openbsd-4284d3c95b72551c4d0f88087d7ef3e863d48e86.zip |
Refactor dtls1_clear_queues()
An upcoming cleanup diff by jsing needs dtls1_clear_queues() to be
able to handle NULL pqueues. While one can easily add a NULL check
to pqueue_pop(), this does not really fit in with the rest of the
code. There are two kinds of while loops in dtls1_clear_queues that
drain pqueues, so add two helper functions with a NULL check each.
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions