Skip to content

Commit

Permalink
Send close_notify.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samin Ishtiaq committed Dec 15, 2015
1 parent a07fe04 commit b9144c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flex/FlexApps/Handshake_full_RSA.fs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ open FlexCCS
open FlexFinished
open FlexState
open FlexSecrets
open FlexAlert

/// Run full RSA handshakes, complying with TLS_RSA_WITH_AES_128_GCM_SHA256
type Handshake_full_RSA =
Expand Down Expand Up @@ -78,6 +79,7 @@ type Handshake_full_RSA =
let st = FlexState.installReadKeys st nsc in

let st,ffS = FlexFinished.receive(st,nsc,Server) in
let st = FlexAlert.send(st,TLSError.AD_close_notify) in
st

/// CLIENT - Run full RSA Handshake with mutual server and client authentication *)
Expand Down

0 comments on commit b9144c3

Please sign in to comment.