diff options
author | tb <> | 2020-09-26 07:36:51 +0000 |
---|---|---|
committer | tb <> | 2020-09-26 07:36:51 +0000 |
commit | 3345108d2a65403103b8b6331fac7b04a642dddd (patch) | |
tree | 48486280532a41742d81deaf5c02364e8258b21e /src/lib/libssl/ssl_transcript.c | |
parent | af7c6ade0d2208202ee8003159d10cf52d688e00 (diff) | |
download | openbsd-3345108d2a65403103b8b6331fac7b04a642dddd.tar.gz openbsd-3345108d2a65403103b8b6331fac7b04a642dddd.tar.bz2 openbsd-3345108d2a65403103b8b6331fac7b04a642dddd.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_transcript.c')
0 files changed, 0 insertions, 0 deletions