[openssl/openssl] caf635: apps: add dgst test coverage for -keyform option

"'Jakub Zelenka' via openssl-commits" <[email protected]> Sun, 19 Jul 2026 23:55: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: caf63500b6ec5c5d31bacff2fe8d450a46df4a5a
      https://github.com/openssl/openssl/commit/caf63500b6ec5c5d31bacff2fe8d450a46df4a5a
  Author: Jakub Zelenka <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M test/recipes/20-test_dgst.t

  Log Message:
  -----------
  apps: add dgst test coverage for -keyform option

The -keyform (OPT_KEYFORM) option of the dgst app was not exercised by
any test.  Add a subtest that converts the RSA test keys to DER and
then signs and verifies with -keyform DER, covering the option for both
the private and public key loading paths.

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

Reviewed-by: Daniel Kubec <[email protected]>
Reviewed-by: Dmitry Belyavskiy <[email protected]>
Reviewed-by: Tim Hudson <[email protected]>
MergeDate: Mon Jul 20 06:40:45 2026
(Merged from https://github.com/openssl/openssl/pull/31946)



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/61b850-caf635%40github.com.