[openssl/openssl] 716593: apps: cover the x509 -serial, name-hash and -finge...

"'Jakub Zelenka' via openssl-commits" <[email protected]> Mon, 27 Jul 2026 03:15:34 -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: 716593bd1162b8b5c9179757bf1e63748822203e
      https://github.com/openssl/openssl/commit/716593bd1162b8b5c9179757bf1e63748822203e
  Author: Jakub Zelenka <[email protected]>
  Date:   2026-07-27 (Mon, 27 Jul 2026)

  Changed paths:
    M test/recipes/25-test_x509.t

  Log Message:
  -----------
  apps: cover the x509 -serial, name-hash and -fingerprint print options

Add a subtest exercising the informational print options of the x509 app
that operate on any certificate: -serial, -next_serial, -subject_hash
(and its -hash alias), -issuer_hash, -subject_hash_old, -issuer_hash_old
and -fingerprint (default SHA-1 and -sha256). These branches of the print
loop were previously not exercised.

The expected values are those of the committed test/certs/ca-cert.pem;
the fingerprints are the SHA-1 and SHA-256 digests of its DER encoding.

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

Reviewed-by: Daniel Kubec <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
MergeDate: Mon Jul 27 10:14:18 2026
(Merged from https://github.com/openssl/openssl/pull/31967)


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

  Changed paths:
    M test/recipes/25-test_crl.t

  Log Message:
  -----------
  apps: cover the crl -crlnumber and -issuer print options

Add a subtest exercising the -crlnumber and -issuer print options of the
crl app: with a CRL that carries a CRL Number extension (printed as a hex
value), with a CRL that has none (printed as <NONE>), and checking the
printed issuer DN in both cases.

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

Reviewed-by: Daniel Kubec <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
MergeDate: Mon Jul 27 10:15:03 2026
(Merged from https://github.com/openssl/openssl/pull/31969)


Compare: https://github.com/openssl/openssl/compare/eaa4a57017ce...ffa7eb92109a

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/eaa4a5-ffa7eb%40github.com.