Skip to content

Commit

Permalink
Remove repeated line
Browse files Browse the repository at this point in the history
  • Loading branch information
ellert committed Nov 10, 2023
1 parent 61f7eb2 commit b4e87e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gsi_openssh/source/sshconnect2.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ ssh_kex2(struct ssh *ssh, char *host, struct sockaddr *hostaddr, u_short port,

memcpy(&myproposal, &myproposal_default, sizeof(myproposal));

memcpy(&myproposal, &myproposal_default, sizeof(myproposal));

xxx_host = host;
xxx_hostaddr = hostaddr;
xxx_conn_info = cinfo;
Expand Down

1 comment on commit b4e87e2

@fscheiner
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ellert: thanks for spotting this. This came in with HPN. rapier1/hpn-ssh@7dac438 removes both memcpy() calls, but is also based on a newer HPN version (18.1) than we use (15.2).

Please sign in to comment.