fix; libressl now has all this needs except SSL_SESSION_get_protocol_version()

This commit is contained in:
sthen 2018-02-19 19:24:03 +00:00
parent dd9bbabef6
commit b904502f49

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-src_tlsopensslserver_cpp,v 1.1 2017/08/08 08:57:45 bentley Exp $
Index: src/tlsopensslserver.cpp
--- src/tlsopensslserver.cpp.orig
+++ src/tlsopensslserver.cpp
@@ -50,7 +50,7 @@ namespace gloox
return SSL_accept( m_ssl );
}
-#if defined OPENSSL_VERSION_NUMBER && ( OPENSSL_VERSION_NUMBER < 0x10100000 )
+#if LIBRESSL_VERSION_NUMBER || ( defined OPENSSL_VERSION_NUMBER && ( OPENSSL_VERSION_NUMBER < 0x10100000 ) )
int DH_set0_pqg( DH* dh, BIGNUM* p, BIGNUM* q, BIGNUM* g )
{
/* If the fields p and g in d are NULL, the corresponding input