1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-20 02:42:09 +03:00

Fixed minor tabs/spacing issues

This commit is contained in:
Will Cosgrove
2018-03-12 11:06:41 -07:00
committed by GitHub
parent 1bcf309ad8
commit e39fcfdd3f

View File

@@ -1928,12 +1928,13 @@ static int ecdh_sha2_nistp(LIBSSH2_SESSION *session, libssh2_curve_type type,
{
int ret = 0;
int rc;
if(data_len < 5) {ret = _libssh2_error(session, LIBSSH2_ERROR_HOSTKEY_INIT,
if(data_len < 5) {
ret = _libssh2_error(session, LIBSSH2_ERROR_HOSTKEY_INIT,
"Host key data is too short");
return ret;
}
if(exchange_state->state == libssh2_NB_state_idle) {
/* Setup initial values */