Skip to content

Commit

Permalink
fix kex
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Jun 19, 2023
1 parent fc76ccf commit f82537a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ let input_msg t msg now =
let* k = Kex.Dh.ec_shared secret e in
let* (t, (key, sig_), msgs) = dh ~ec:true t neg ~e ~f ~k in
make_replies t
(Msg_kexdh_reply (key, f, sig_) :: msgs)
(Msg_kexecdh_reply (key, f, sig_) :: msgs)
| _ -> Error "unexpected KEX message"
end
| Msg_newkeys ->
Expand Down

0 comments on commit f82537a

Please sign in to comment.