Skip to content
Snippets Groups Projects
Commit 1a931a86 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Silence 'assign away const' warning

parent 999ff398
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment