Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove defines for LibreSSL < 2.7. #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions SSLeay.xs
Original file line number Diff line number Diff line change
Expand Up @@ -4700,7 +4700,7 @@ TLSv1_2_client_method()
#endif


#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x20020002L)
#if OPENSSL_VERSION_NUMBER >= 0x10100000L

const SSL_METHOD *
TLS_method()
Expand All @@ -4711,10 +4711,10 @@ TLS_server_method()
const SSL_METHOD *
TLS_client_method()

#endif /* OpenSSL 1.1.0 or LibreSSL 2.2.2 */
#endif /* OpenSSL 1.1.0 */


#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x2060000fL)
#if OPENSSL_VERSION_NUMBER >= 0x10100000L

int
SSL_CTX_set_min_proto_version(ctx, version)
Expand All @@ -4736,7 +4736,7 @@ SSL_set_max_proto_version(ssl, version)
SSL * ssl
int version

#endif /* OpenSSL 1.1.0 or LibreSSL 2.6.0 */
#endif /* OpenSSL 1.1.0 */


#if OPENSSL_VERSION_NUMBER >= 0x1010007fL && !defined(LIBRESSL_VERSION_NUMBER)
Expand Down