[openssl/openssl] 3a38f5: statem: generalize statem_clnt construct test helpers

"'Jakub Zelenka' via openssl-commits" <[email protected]> Mon, 20 Jul 2026 02:12:33 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 3a38f542adb2fe9d50006343b7d7e264f5c0d46f
      https://github.com/openssl/openssl/commit/3a38f542adb2fe9d50006343b7d7e264f5c0d46f
  Author: Jakub Zelenka <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M test/statem_clnt_construct_test.c

  Log Message:
  -----------
  statem: generalize statem_clnt construct test helpers

Parameterize prime_ssl() by message type and extract a generic
finish_msg() so the scaffolding is reusable by other client construct
tests.

Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Nikola Pajkovsky <[email protected]>
MergeDate: Mon Jul 20 09:11:45 2026
(Merged from https://github.com/openssl/openssl/pull/31861)


  Commit: 7f850c3dbb2b388441fea5b55eed8dc20f5cab5e
      https://github.com/openssl/openssl/commit/7f850c3dbb2b388441fea5b55eed8dc20f5cab5e
  Author: Jakub Zelenka <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M test/statem_clnt_construct_test.c

  Log Message:
  -----------
  statem: test tls_construct_end_of_early_data

Cover the success path (state advances to FINISHED_WRITING, empty body)
and the invalid-state error path.

Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Nikola Pajkovsky <[email protected]>
MergeDate: Mon Jul 20 09:11:47 2026
(Merged from https://github.com/openssl/openssl/pull/31861)


  Commit: 2e49fe4ad8be3dc9a63a4533c404e0a2728ea8a3
      https://github.com/openssl/openssl/commit/2e49fe4ad8be3dc9a63a4533c404e0a2728ea8a3
  Author: Jakub Zelenka <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M test/statem_clnt_construct_test.c

  Log Message:
  -----------
  statem: test tls_construct_client_certificate

Exercise the certificate output functions under mfail with real key
material embedded in the test: an x509 chain over TLS 1.3 and an RPK over
TLS 1.2.  Add deterministic tests for the error branches mfail cannot
reach: an unknown certificate type, a failed write-key change, and
WPACKET failures writing the TLS 1.3 context.

Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Nikola Pajkovsky <[email protected]>
MergeDate: Mon Jul 20 09:11:48 2026
(Merged from https://github.com/openssl/openssl/pull/31861)


Compare: https://github.com/openssl/openssl/compare/e0bf61917aa5...2e49fe4ad8be

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/master/e0bf61-2e49fe%40github.com.