diff options
| author | Alexander Barton <alex@barton.de> | 2008-10-19 20:01:26 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2008-10-19 20:06:30 +0200 |
| commit | ce2541a8266a1029ad7fef3aa82bfca22adec697 (patch) | |
| tree | adf35b1e0a1458131f0e945ec49933151156b2ab | |
| parent | d44a7dac26c8dc1e756fb82074a3e7f298803f13 (diff) | |
| download | ngircd-ce2541a8266a1029ad7fef3aa82bfca22adec697.tar.gz ngircd-ce2541a8266a1029ad7fef3aa82bfca22adec697.zip | |
Fix ConnSSL_LogCertInfo(): unused variable "cred" (GNUTLS)
This patch fixes the following warning of GCC (version 4.3.2) in function ConnSSL_LogCertInfo() when compiling with GNUTLS support: conn-ssl.c: In function 'ConnSSL_LogCertInfo': conn-ssl.c:542: warning: unused variable 'cred'
| -rw-r--r-- | src/ngircd/conn-ssl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ngircd/conn-ssl.c b/src/ngircd/conn-ssl.c index 8995adbe..5a100072 100644 --- a/src/ngircd/conn-ssl.c +++ b/src/ngircd/conn-ssl.c @@ -539,7 +539,6 @@ ConnSSL_LogCertInfo( CONNECTION *c ) SSL_get_version(ssl), SSL_get_cipher(ssl), c->sock); #endif #ifdef HAVE_LIBGNUTLS - gnutls_credentials_type_t cred; gnutls_session_t sess = c->ssl_state.gnutls_session; gnutls_cipher_algorithm_t cipher = gnutls_cipher_get(sess); |