summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_both.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-09-26 07:36:51 +0000
committertb <tb@openbsd.org>2020-09-26 07:36:51 +0000
commit9215d666781ca72883347948ff65d7c0e2eb06fc (patch)
treecd38be67bb95da537a0ef7e211f2801e2a072a94 /lib/libssl/d1_both.c
parentjumping into the x509 fray with a bunch of whitespace repair (diff)
downloadwireguard-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