[openssl/openssl] f931f4: apps: decode DTLSv1.2 records in s_client/s_server...
"'Jakub Zelenka' via openssl-commits" <[email protected]> Mon, 20 Jul 2026 02:10:33 -0700
| Newsgroups | gmane.comp.encryption.openssl.cvs |
|---|---|
| Message-ID | <openssl/openssl/push/refs/heads/openssl-4.0/[email protected]> |
Branch: refs/heads/openssl-4.0
Home: https://github.com/openssl/openssl
Commit: f931f44ea553c26fa69180a72bddd77e091aa4dc
https://github.com/openssl/openssl/commit/f931f44ea553c26fa69180a72bddd77e091aa4dc
Author: Jakub Zelenka <[email protected]>
Date: 2026-07-20 (Mon, 20 Jul 2026)
Changed paths:
M apps/lib/s_cb.c
A test/recipes/20-test_app_s_client_msg.t
Log Message:
-----------
apps: decode DTLSv1.2 records in s_client/s_server -msg output
The msg_cb message callback used by the -msg option only recognised
DTLSv1.0 among the DTLS versions, so DTLSv1.2 records were logged as
"Not TLS data or unknown version" instead of being decoded. Add
DTLS1_2_VERSION to the recognised version check and to the ssl_versions
lookup table, and wrap the now-overlong condition.
Add a test that runs s_client against s_server over TLSv1.2, TLSv1.3 and
DTLSv1.2, logging the protocol messages via -msg, and checks that every
record is decoded (no "Not TLS data or unknown version" lines).
Assisted-by: Claude:claude-opus-4-8
Reviewed-by: Tim Hudson <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Frederik Wedel-Heinen <[email protected]>
MergeDate: Mon Jul 20 09:09:23 2026
(Merged from https://github.com/openssl/openssl/pull/31994)
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
--
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/openssl-4.0/a3aeff-f931f4%40github.com.