diff options
Diffstat (limited to 'databases/freetds/files/patch-src_tds_sec__negotiate__openssl.h')
| -rw-r--r-- | databases/freetds/files/patch-src_tds_sec__negotiate__openssl.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/freetds/files/patch-src_tds_sec__negotiate__openssl.h b/databases/freetds/files/patch-src_tds_sec__negotiate__openssl.h new file mode 100644 index 000000000000..301e80834bf7 --- /dev/null +++ b/databases/freetds/files/patch-src_tds_sec__negotiate__openssl.h @@ -0,0 +1,14 @@ +--- src/tds/sec_negotiate_openssl.h.orig 2017-02-15 09:00:01 UTC ++++ src/tds/sec_negotiate_openssl.h +@@ -37,6 +37,11 @@ + #error HAVE_OPENSSL not defines, this file should not be included + #endif + ++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL ++#undef OPENSSL_VERSION_NUMBER ++#define OPENSSL_VERSION_NUMBER 0x1000107fL ++#endif ++ + static inline const BIGNUM* + rsa_get_n(const RSA *rsa) + { |
