|
Lines 50-55
Link Here
|
| 50 |
#include <sys/socket.h> |
50 |
#include <sys/socket.h> |
| 51 |
#endif |
51 |
#endif |
| 52 |
|
52 |
|
|
|
53 |
#if defined(__FreeBSD__) || defined(__DragonFly__) |
| 54 |
#include <sys/socket.h> |
| 55 |
#endif |
| 56 |
|
| 53 |
#include <freetds/tds.h> |
57 |
#include <freetds/tds.h> |
| 54 |
#include <freetds/string.h> |
58 |
#include <freetds/string.h> |
| 55 |
#include <freetds/tls.h> |
59 |
#include <freetds/tls.h> |
|
Lines 72-77
Link Here
|
| 72 |
#define SSL_PTR ptr |
76 |
#define SSL_PTR ptr |
| 73 |
#else |
77 |
#else |
| 74 |
|
78 |
|
|
|
79 |
#ifdef LIBRESSL_VERSION_NUMBER |
| 80 |
static pthread_mutex_t *openssllocks; |
| 81 |
#undef OPENSSL_VERSION_NUMBER |
| 82 |
#define OPENSSL_VERSION_NUMBER 0x1000107fL |
| 83 |
#endif |
| 84 |
|
| 75 |
/* some compatibility layer */ |
85 |
/* some compatibility layer */ |
| 76 |
#if OPENSSL_VERSION_NUMBER < 0x1010000FL |
86 |
#if OPENSSL_VERSION_NUMBER < 0x1010000FL |
| 77 |
static inline void |
87 |
static inline void |