mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
Silence 'assign away const' warning
This commit is contained in:
parent
999ff398d6
commit
1a931a86ee
1 changed files with 1 additions and 3 deletions
|
|
@ -657,10 +657,8 @@ static int
|
|||
tlso_session_strength( tls_session *sess )
|
||||
{
|
||||
tlso_session *s = (tlso_session *)sess;
|
||||
SSL_CIPHER *c;
|
||||
|
||||
c = SSL_get_current_cipher(s);
|
||||
return SSL_CIPHER_get_bits(c, NULL);
|
||||
return SSL_CIPHER_get_bits(SSL_get_current_cipher(s), NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue