unbreak, libressl has some more 1.1 api functions now
This commit is contained in:
parent
b3d1ad9c03
commit
5a3a9698d3
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-src_tlsopensslbase_cpp,v 1.2 2017/08/08 08:57:45 bentley Exp $
|
||||
$OpenBSD: patch-src_tlsopensslbase_cpp,v 1.3 2018/03/18 13:20:38 sthen Exp $
|
||||
Index: src/tlsopensslbase.cpp
|
||||
--- src/tlsopensslbase.cpp.orig
|
||||
+++ src/tlsopensslbase.cpp
|
||||
@ -12,12 +12,3 @@ Index: src/tlsopensslbase.cpp
|
||||
|
||||
OpenSSL_add_all_algorithms();
|
||||
|
||||
@@ -252,7 +254,7 @@ namespace gloox
|
||||
return static_cast<int>( mktime( &t ) );
|
||||
}
|
||||
|
||||
-#if defined OPENSSL_VERSION_NUMBER && ( OPENSSL_VERSION_NUMBER < 0x10100000 )
|
||||
+#if defined LIBRESSL_VERSION_NUMBER || ( defined OPENSSL_VERSION_NUMBER && ( OPENSSL_VERSION_NUMBER < 0x10100000 ) )
|
||||
int SSL_SESSION_get_protocol_version( const SSL_SESSION* s )
|
||||
{
|
||||
return s->ssl_version;
|
||||
|
Loading…
Reference in New Issue
Block a user