Assorted cleanups:
authormiod <miod@openbsd.org>
Tue, 6 May 2014 20:32:11 +0000 (20:32 +0000)
committermiod <miod@openbsd.org>
Tue, 6 May 2014 20:32:11 +0000 (20:32 +0000)
commit0f7f9093907d21211cac3d4795323ee55844ec63
treee1742747980bf48669864ad5c9f349fb2171a16d
parentc1db0dc07d6e0ac875ebf58e470033cae25909f9
Assorted cleanups:
- replace hardcoded sizes with sizeof()
- pqueue_find() apparently used to need to keep track of the previous node
  when iterating, which causes its logic to be complicated. However, nowadays
  it only needs to iterate, so replace with a straightforward, much
  readable logic.
- remove #if 0'ed code

From ``sin'' from 2f30 dot org on tech@, thanks!
lib/libcrypto/pqueue/pqueue.c
lib/libssl/src/crypto/pqueue/pqueue.c