We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 088b3fb commit fad06c5Copy full SHA for fad06c5
1 file changed
src/kex.c
@@ -1540,7 +1540,7 @@ kex_method_diffie_hellman_group_exchange_sha1_key_exchange(
1540
goto dh_gex_clean_exit;
1541
}
1542
1543
- bits = _libssh2_bn_bits(key_state->p);
+ bits = (int)_libssh2_bn_bits(key_state->p);
1544
if(bits < 0 || bits < LIBSSH2_DH_GEX_MINGROUP ||
1545
bits > LIBSSH2_DH_GEX_MAXGROUP) {
1546
ret = _libssh2_error(session, LIBSSH2_ERROR_PROTO,
@@ -1669,7 +1669,7 @@ kex_method_diffie_hellman_group_exchange_sha256_key_exchange(
1669
1670
1671
1672
1673
1674
1675
0 commit comments