diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-01-17 15:13:29 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-01-17 15:16:07 +0000 |
commit | 30ef1a077996c71e463beae53354e8ffc7a4c90d (patch) | |
tree | e07daabaeebe43f1b58718c14f640b1329f6be30 | |
parent | 81b98dafa19aa88166a7190769afbd359156df00 (diff) |
vtls: Fixed compilation errors when SSL not used
Fixed the following warning and error from commit 3af90a6e19 when SSL
is not being used:
url.c:2004: warning C4013: 'Curl_ssl_cert_status_request' undefined;
assuming extern returning int
error LNK2019: unresolved external symbol Curl_ssl_cert_status_request
referenced in function Curl_setopt
-rw-r--r-- | lib/vtls/vtls.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h index eedf9212c..71c101920 100644 --- a/lib/vtls/vtls.h +++ b/lib/vtls/vtls.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 @@ -142,6 +142,7 @@ bool Curl_ssl_cert_status_request(void); #define Curl_ssl_kill_session(x) Curl_nop_stmt #define Curl_ssl_random(x,y,z) ((void)x, CURLE_NOT_BUILT_IN) #define CURL_SSL_BACKEND CURLSSLBACKEND_NONE +#define Curl_ssl_cert_status_request() FALSE #endif #endif /* HEADER_CURL_VTLS_H */ |