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/gskit.h | |
parent | 30ef1a077996c71e463beae53354e8ffc7a4c90d (diff) | |
download | curl-8bb3443a210e9aed888055b8a3d39646ca234c49.tar.gz |
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/gskit.h')
-rw-r--r-- | lib/vtls/gskit.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/vtls/gskit.h b/lib/vtls/gskit.h index baec82323..566eb281b 100644 --- a/lib/vtls/gskit.h +++ b/lib/vtls/gskit.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 @@ -42,6 +42,9 @@ int Curl_gskit_shutdown(struct connectdata * conn, int sockindex); size_t Curl_gskit_version(char * buffer, size_t size); int Curl_gskit_check_cxn(struct connectdata * cxn); +/* Set the API backend definition to GSKit */ +#define CURL_SSL_BACKEND CURLSSLBACKEND_GSKIT + /* this backend supports CURLOPT_CERTINFO */ #define have_curlssl_certinfo 1 @@ -63,7 +66,6 @@ int Curl_gskit_check_cxn(struct connectdata * cxn); #define curlssl_check_cxn(x) Curl_gskit_check_cxn(x) #define curlssl_data_pending(x,y) 0 #define curlssl_random(x,y,z) -1 -#define CURL_SSL_BACKEND CURLSSLBACKEND_GSKIT #endif /* USE_GSKIT */ #endif /* HEADER_CURL_GSKIT_H */ |