Added flag to prohibit renegotiations.
This commit is contained in:
parent
3b044d4296
commit
d16eee962a
10 changed files with 626 additions and 583 deletions
|
|
@ -999,12 +999,9 @@ cc: do-ecdh ( echde prf_id -- ulen ) {
|
|||
0 addr-application_data set8
|
||||
read-HelloRequest
|
||||
\ Reject renegotiations if the peer does not
|
||||
\ support secure renegotiation. Theoretically
|
||||
\ we could just ignore that, however if the
|
||||
\ server sent an HelloRequest then it is
|
||||
\ expecting a handshake and will wait for our
|
||||
\ ClientHello.
|
||||
addr-reneg get8 1 = if
|
||||
\ support secure renegotiation, or if the
|
||||
\ "no renegotiation" flag is set.
|
||||
addr-reneg get8 1 = 1 flag? or if
|
||||
flush-record
|
||||
begin can-output? not while
|
||||
wait-co drop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue