freebsd rep engine fixes: openssl errors