Skip to content

Commit

Permalink
Merge pull request rweather#17 from nayuta-ueno/fix-echo
Browse files Browse the repository at this point in the history
fix echo example
  • Loading branch information
rweather authored May 21, 2017
2 parents 3cef447 + dce1a36 commit 16453fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/echo/echo-server/echo-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static int initialize_handshake
if (dh_id == NOISE_DH_CURVE25519) {
err = noise_dhstate_set_public_key
(dh, client_key_25519, sizeof(client_key_25519));
} else if (dh_id == NOISE_DH_CURVE25519) {
} else if (dh_id == NOISE_DH_CURVE448) {
err = noise_dhstate_set_public_key
(dh, client_key_448, sizeof(client_key_448));
} else {
Expand Down

0 comments on commit 16453fc

Please sign in to comment.