catch up with openssl constification

This commit is contained in:
christos 2009-07-20 15:32:33 +00:00
parent 28a175e482
commit ddb6af4806
1 changed files with 2 additions and 2 deletions

View File

@ -2786,9 +2786,9 @@ int
ldap_pvt_tls_get_strength( void *s )
{
#ifdef HAVE_OPENSSL
SSL_CIPHER *c;
const SSL_CIPHER *c;
c = SSL_get_current_cipher((SSL *)s);
c = SSL_get_current_cipher((const SSL *)s);
return SSL_CIPHER_get_bits(c, NULL);
#elif defined(HAVE_GNUTLS)
tls_session *session = s;