diff options
| -rw-r--r-- | test/radix/quic_ops.c | 4 | ||||
| -rw-r--r-- | test/radix/quic_tests.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/radix/quic_ops.c b/test/radix/quic_ops.c index 4ed639830a2..347441cf747 100644 --- a/test/radix/quic_ops.c +++ b/test/radix/quic_ops.c @@ -1689,6 +1689,8 @@ DEF_FUNC(hf_set_inject_handshake_cb) OPENSSL_free(radix_fault.handbuf); radix_fault.handbuf = NULL; radix_fault.handbuflen = 0; + radix_fault.word0 = 0; + radix_fault.word1 = 0; radix_fault.hcb = radix_fault_ptr_to_handshake_cb(cbptr); ok = 1; @@ -1709,6 +1711,8 @@ DEF_FUNC(hf_set_inject_handshake) radix_fault.handbuf = NULL; radix_fault.handbuflen = 0; radix_fault.handbufalloc = 0; + radix_fault.word0 = 0; + radix_fault.word1 = 0; radix_fault.hcb = radix_fault_ptr_to_handshake_cb(cbptr); if (!TEST_true(ossl_statem_set_mutator(ssl, radix_fault_handshake_mutate, diff --git a/test/radix/quic_tests.c b/test/radix/quic_tests.c index e0b673a1df0..e2ce3407765 100644 --- a/test/radix/quic_tests.c +++ b/test/radix/quic_tests.c @@ -4507,6 +4507,9 @@ DEF_SCRIPT(script_69, "Send a TLS KeyUpdate message post-handshake") OP_ACCEPT_STREAM_WAIT(S, Sa, 0); OP_READ_EXPECT(Sa, "apple", 5); + /* A normal ticket must not reuse the previous script's injection. */ + OP_NEW_TICKET(S); + OP_ENGINE_TICK_DISABLE(S); OP_SET_INJECT_WORD(2, 0); OP_NEW_TICKET(S); |
