diff options
author | 2020-09-26 07:36:51 +0000 | |
---|---|---|
committer | 2020-09-26 07:36:51 +0000 | |
commit | 9215d666781ca72883347948ff65d7c0e2eb06fc (patch) | |
tree | cd38be67bb95da537a0ef7e211f2801e2a072a94 /lib/libssl/d1_both.c | |
parent | jumping into the x509 fray with a bunch of whitespace repair (diff) | |
download | wireguard-openbsd-9215d666781ca72883347948ff65d7c0e2eb06fc.tar.xz wireguard-openbsd-9215d666781ca72883347948ff65d7c0e2eb06fc.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 'lib/libssl/d1_both.c')
0 files changed, 0 insertions, 0 deletions