diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-01-17 16:03:49 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-01-17 15:38:22 +0000 |
commit | 8bb3443a210e9aed888055b8a3d39646ca234c49 (patch) | |
tree | 06c9f91e970faaa14bb8f4e3d4be95468d70a8f9 /lib/vtls/openssl.h | |
parent | 30ef1a077996c71e463beae53354e8ffc7a4c90d (diff) |
vtls: Separate the SSL backend definition from the API setup
Slight code cleanup as the SSL backend #define is mixed up with the API
function setup.
Diffstat (limited to 'lib/vtls/openssl.h')
-rw-r--r-- | lib/vtls/openssl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/vtls/openssl.h b/lib/vtls/openssl.h index 9f5f3a28f..9e9ba1e1e 100644 --- a/lib/vtls/openssl.h +++ b/lib/vtls/openssl.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -73,6 +73,9 @@ void Curl_ossl_md5sum(unsigned char *tmp, /* input */ unsigned char *md5sum /* output */, size_t unused); +/* Set the API backend definition to OpenSSL */ +#define CURL_SSL_BACKEND CURLSSLBACKEND_OPENSSL + /* this backend supports the CAPATH option */ #define have_curlssl_ca_path 1 @@ -99,7 +102,6 @@ void Curl_ossl_md5sum(unsigned char *tmp, /* input */ #define curlssl_data_pending(x,y) Curl_ossl_data_pending(x,y) #define curlssl_random(x,y,z) Curl_ossl_random(x,y,z) #define curlssl_md5sum(a,b,c,d) Curl_ossl_md5sum(a,b,c,d) -#define CURL_SSL_BACKEND CURLSSLBACKEND_OPENSSL #define DEFAULT_CIPHER_SELECTION "ALL!EXPORT!EXPORT40!EXPORT56!aNULL!LOW!RC4" |