FreeBSD Bugzilla – Attachment 180568 Details for
Bug 217549
databases/freetds: Fails with libressl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Redefine OPENSSL version in tls.c
patch-src_tds_tls.c (text/plain), 612 bytes, created by
Robert Kruus
on 2017-03-06 17:14:31 UTC
(
hide
)
Description:
Redefine OPENSSL version in tls.c
Filename:
MIME Type:
Creator:
Robert Kruus
Created:
2017-03-06 17:14:31 UTC
Size:
612 bytes
patch
obsolete
>--- src/tds/tls.c.orig 2017-02-15 09:00:01 UTC >+++ src/tds/tls.c >@@ -50,6 +50,10 @@ > #include <sys/socket.h> > #endif > >+#if defined(__FreeBSD__) || defined(__DragonFly__) >+#include <sys/socket.h> >+#endif >+ > #include <freetds/tds.h> > #include <freetds/string.h> > #include <freetds/tls.h> >@@ -72,6 +76,12 @@ > #define SSL_PTR ptr > #else > >+#ifdef LIBRESSL_VERSION_NUMBER >+static pthread_mutex_t *openssllocks; >+#undef OPENSSL_VERSION_NUMBER >+#define OPENSSL_VERSION_NUMBER 0x1000107fL >+#endif >+ > /* some compatibility layer */ > #if OPENSSL_VERSION_NUMBER < 0x1010000FL > static inline void
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217549
:
180521
| 180568 |
180569