Create a new default RSA engine instead of patching the existing one
authorreyk <reyk@openbsd.org>
Sun, 4 May 2014 16:38:19 +0000 (16:38 +0000)
committerreyk <reyk@openbsd.org>
Sun, 4 May 2014 16:38:19 +0000 (16:38 +0000)
commit1013dd2ea9b81d70f70e69090e203f7ad13066cc
treea650d7c31d7072dc44348f6261b90d069a1cd52f
parent880918e8c3700f315cfeb7da0b25c066dad3c028
Create a new default RSA engine instead of patching the existing one
if none is available.  Fixes SSL/TLS and a possible fatalx() on
machines without a default RSA engine.

Thanks to Bjorn Ketelaars for reporting and testing.

ok gilles@ (for the relayd part)
usr.sbin/relayd/ca.c
usr.sbin/relayd/config.c
usr.sbin/relayd/relayd.h
usr.sbin/smtpd/ca.c
usr.sbin/smtpd/smtpd.h