mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 09:50:29 +00:00
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'
This commit is contained in:
parent
d44a7dac26
commit
ce2541a826
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user