PR#45825 by Matthias Kretschmer.
approved by both MAINTAINERs, +minor cosmetics and a time_t printf format fix on NetBSD-current (tested against a Cisco VPN 3000 Concentrator with psk)
disabled because of a (perceived?) conflict between the openssl license and the GPL.