Lines 286-298
Link Here
|
286 |
/** |
286 |
/** |
287 |
* Define the SSL Protocol options |
287 |
* Define the SSL Protocol options |
288 |
*/ |
288 |
*/ |
289 |
#define SSL_PROTOCOL_NONE (0) |
289 |
#define SSL_PROTOCOL_UNSET (0) |
290 |
#define SSL_PROTOCOL_SSLV2 (1<<0) |
290 |
#define SSL_PROTOCOL_NONE (1<<0) |
291 |
#define SSL_PROTOCOL_SSLV3 (1<<1) |
291 |
#define SSL_PROTOCOL_SSLV2 (1<<1) |
292 |
#define SSL_PROTOCOL_TLSV1 (1<<2) |
292 |
#define SSL_PROTOCOL_SSLV3 (1<<2) |
|
|
293 |
#define SSL_PROTOCOL_TLSV1 (1<<3) |
293 |
#ifdef HAVE_TLSV1_X |
294 |
#ifdef HAVE_TLSV1_X |
294 |
#define SSL_PROTOCOL_TLSV1_1 (1<<3) |
295 |
#define SSL_PROTOCOL_TLSV1_1 (1<<4) |
295 |
#define SSL_PROTOCOL_TLSV1_2 (1<<4) |
296 |
#define SSL_PROTOCOL_TLSV1_2 (1<<5) |
296 |
#define SSL_PROTOCOL_ALL (SSL_PROTOCOL_SSLV3|SSL_PROTOCOL_TLSV1| \ |
297 |
#define SSL_PROTOCOL_ALL (SSL_PROTOCOL_SSLV3|SSL_PROTOCOL_TLSV1| \ |
297 |
SSL_PROTOCOL_TLSV1_1|SSL_PROTOCOL_TLSV1_2) |
298 |
SSL_PROTOCOL_TLSV1_1|SSL_PROTOCOL_TLSV1_2) |
298 |
#else |
299 |
#else |