[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 132/205: schannel: fix unused variable warning
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 132/205: schannel: fix unused variable warning |
Date: |
Thu, 20 Apr 2017 16:21:12 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.
commit f104f7d914e1d802bdedcfcae6116eeab4a4a43e
Author: Marcel Raad <address@hidden>
AuthorDate: Thu Mar 30 10:35:46 2017 +0200
schannel: fix unused variable warning
If CURL_DISABLE_VERBOSE_STRINGS is defined, hostname is not used in
schannel_connect_step3.
---
lib/vtls/schannel.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c
index 0f59d9c4d..6d83e9ed1 100644
--- a/lib/vtls/schannel.c
+++ b/lib/vtls/schannel.c
@@ -690,8 +690,10 @@ schannel_connect_step3(struct connectdata *conn, int
sockindex)
struct ssl_connect_data *connssl = &conn->ssl[sockindex];
SECURITY_STATUS sspi_status = SEC_E_OK;
CERT_CONTEXT *ccert_context = NULL;
+#ifndef CURL_DISABLE_VERBOSE_STRINGS
const char * const hostname = SSL_IS_PROXY() ? conn->http_proxy.host.name :
conn->host.name;
+#endif
#ifdef HAS_ALPN
SecPkgContext_ApplicationProtocol alpn_result;
#endif
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 45/205: gitignore: Ignore man page dist files, (continued)
- [GNUnet-SVN] [gnurl] 45/205: gitignore: Ignore man page dist files, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 74/205: test1440/1: depend on well-defined file: behaviour, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 88/205: test714/5: added HTTP as a required feature, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 114/205: multi: fix MinGW-w64 compiler warnings, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 117/205: openssl: exclude DSA code when OPENSSL_NO_DSA is defined, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 144/205: fail-early.d: fix typos, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 130/205: select: use correct SIZEOF_ constant, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 116/205: examples/fopen: checksrc compliance, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 115/205: schannel: fix variable shadowing warning, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 51/205: vtls: add options to specify range of enabled TLS versions, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 132/205: schannel: fix unused variable warning,
gnunet <=
- [GNUnet-SVN] [gnurl] 103/205: CURLINFO_PRIMARY_IP.3: add example, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 81/205: BINDINGS: a Delphi binding, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 119/205: pause: handle mixed types of data when paused, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 31/205: ares: return error at once if timed out before name resolve starts, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 126/205: NTLM: check for features with #ifdef instead of #if, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 143/205: docs: Explain --fail-early does not imply --fail, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 142/205: telnet: (win32) fix read callback return variable, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 169/205: gtls: fix compiler warning, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 152/205: hash: move key into hash struct to reduce mallocs, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 199/205: openssl: fix thread-safety bugs in error-handling, gnunet, 2017/04/20