Skip to content

Commit

Permalink
Merge pull request #755 from tlsfuzzer/ocsp-with-renego
Browse files Browse the repository at this point in the history
test-renegotiation-changed-clienthello: fix with ocsp enabled
  • Loading branch information
tomato42 committed Aug 6, 2021
2 parents 2a65dc0 + 81eb1fe commit ac24ad7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/test-renegotiation-changed-clienthello.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ def main():
node = node.add_child(ExpectServerHello(
description="second handshake"))
node = node.add_child(ExpectCertificate())
if ocsp:
node = node.add_child(ExpectCertificateStatus())
if dhe:
node = node.add_child(ExpectServerKeyExchange())
node = node.add_child(ExpectServerHelloDone())
Expand Down Expand Up @@ -355,6 +357,8 @@ def main():
node = node.add_child(ExpectServerHello(
description="second handshake"))
node = node.add_child(ExpectCertificate())
if ocsp and drop_ext != ExtensionType.status_request:
node = node.add_child(ExpectCertificateStatus())
if dhe:
node = node.add_child(ExpectServerKeyExchange())
node = node.add_child(ExpectServerHelloDone())
Expand Down

0 comments on commit ac24ad7

Please sign in to comment.