mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-09 22:04:12 -05:00
ITS#5585 GnuTLS key strength is in bytes, we expected bits
This commit is contained in:
parent
4e21f65ec0
commit
7e4ba700f1
1 changed files with 1 additions and 1 deletions
|
|
@ -2795,7 +2795,7 @@ ldap_pvt_tls_get_strength( void *s )
|
|||
gnutls_cipher_algorithm_t c;
|
||||
|
||||
c = gnutls_cipher_get( session->session );
|
||||
return gnutls_cipher_get_key_size( c );
|
||||
return gnutls_cipher_get_key_size( c ) * 8;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue