Getting rid of #ifdef is always good :-) - tested on OpenBSD 6.8 ("just to be sure"), works.
On OpenBSD 6.5, it fails at link time (LibreSSL 2.9.1, RSA_meth_set_pub_enc and other RSA_meth* functions missing). So, no more support for that (already end-of-life) OpenBSD version. FreeBSD ports now has LibreSSL 3.2.5, so I assume it is not going to break anything there (though I have not bothered to test). Your patch has been applied to the master branch. commit 2c0ebe0f12c3d7598dd2f604a5a412b68b728ba9 Author: Arne Schwabe Date: Thu Apr 15 13:45:41 2021 +0200 Remove LibreSSL specific defines not needed for modern LibreSSL Signed-off-by: Arne Schwabe <a...@rfc2549.org> Acked-by: Antonio Quartulli <anto...@openvpn.net> Message-Id: <20210415114541.1001644-1-a...@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22119.html Signed-off-by: Gert Doering <g...@greenie.muc.de> -- kind regards, Gert Doering _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel