rings that dont rx packets dont need to be refilled.
likewise for X, locate directory
typo in previous
Use a while loop instead of an ifdowhile loop.

ok miod@ tedu@
BN_free, BN_clear_free, BN_CTX_free, BN_BLINDING_free and BN_MONT_CTX_free
all have implicit NULL checks, so we do not need them here.

ok miod@
hide the biglock thrashing under pool_debug so it can be turned off
remove unused ecc_pkey_size.

ok jsing@ miod@
fix version comparison for openssl-like versions (1.0.1g etc)

found, tested and OK sthen@
KNF comments, reflowing and moving out of the middle of argument lists in
places

ok jsing@