summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-08-22 15:56:18 +0100
committerHugo Landau <hlandau@openssl.org>2023-08-24 07:43:13 +0100
commit84a149254f977f502dd2314169812fc6eae8c309 (patch)
treee7b3c6cca339bd38e66715eec3c9bb075b564404 /test
parent27315a978e280a20c7f3ea0bfe05f6c186137625 (diff)
Change the TLS handshake keys early if we're not doing early data
We change the client TLS handshake keys as late as possible so that we don't disturb the keys if we are writing early data. However for QUIC we want to do this as early as possible (after ServerHello). Since we will never do TLS early data with QUIC we just do it as early as possible if early data is not being used. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21810)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/75-test_quicapi_data/ssltraceref.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/recipes/75-test_quicapi_data/ssltraceref.txt b/test/recipes/75-test_quicapi_data/ssltraceref.txt
index 2ef20d34b9..cbca1cad70 100644
--- a/test/recipes/75-test_quicapi_data/ssltraceref.txt
+++ b/test/recipes/75-test_quicapi_data/ssltraceref.txt
@@ -238,15 +238,21 @@ Sent Frame: Ack (without ECN)
Ack delay (raw) 0
Ack range count: 0
First ack range: 0
+Sent Frame: Ack (without ECN)
+ Largest acked: 0
+ Ack delay (raw) 0
+ Ack range count: 0
+ First ack range: 0
Sent Frame: Padding
Sent Packet
Packet Type: Initial
Version: 0x00000001
Destination Conn Id: 0x????????????????
Source Conn Id: <zero length id>
- Payload length: 1178
+ Payload length: 1137
Token: <zero length token>
Packet Number: 0x00000001
+
Sent Datagram
Length: 1200
Received Datagram
@@ -297,6 +303,6 @@ Sent Packet
Destination Conn Id: 0x????????????????
Source Conn Id: <zero length id>
Payload length: 60
- Packet Number: 0x00000000
+ Packet Number: 0x00000001
Sent Datagram
Length: 81