Skip to content
Permalink
Browse files

formatting

  • Loading branch information...
willco007 committed Apr 23, 2019
1 parent a62a73a commit 473fb7b57ef9b2d922f8bc7bb50844f7a6dae9bb
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/kex.c
  2. +1 −1 src/misc.c
@@ -243,7 +243,7 @@ static int diffie_hellman_sha1(LIBSSH2_SESSION *session,
/* Wait for KEX reply */
struct string_buf buf;
size_t host_key_len;

rc = _libssh2_packet_require(session, packet_type_reply,
&exchange_state->s_packet,
&exchange_state->s_packet_len, 0, NULL,
@@ -931,7 +931,7 @@ static int diffie_hellman_sha256(LIBSSH2_SESSION *session,
/* Wait for KEX reply */
struct string_buf buf;
size_t host_key_len;

rc = _libssh2_packet_require(session, packet_type_reply,
&exchange_state->s_packet,
&exchange_state->s_packet_len, 0, NULL,
@@ -799,7 +799,7 @@ int _libssh2_copy_string(LIBSSH2_SESSION *session, struct string_buf *buf,
*outbuf = LIBSSH2_ALLOC(session, str_len);
if(*outbuf) {
memcpy(*outbuf, str, str_len);
}else {
} else {
return -1;
}

0 comments on commit 473fb7b

Please sign in to comment.
You can’t perform that action at this time.