[openssl/openssl] ff1dcf: apps: cover pkeyutl oneshot buffer path with empty...

"'Jakub Zelenka' via openssl-commits" <[email protected]>
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: ff1dcf6a7514a6766874290d8847f9ed0eedd7fa
      https://github.com/openssl/openssl/commit/ff1dcf6a7514a6766874290d8847f9ed0eedd7fa
  Author: Jakub Zelenka <[email protected]>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

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

  Log Message:
  -----------
  apps: cover pkeyutl oneshot buffer path with empty file input

The non-mmap buffer fallback in do_raw_keyop() for oneshot (only_nomd)
keys was never exercised on Unix, since any file with non-zero size
takes the mmap path and returns before reaching it. Signing and
verifying an empty file gives filesize 0, which skips the mmap block
(guarded by filesize > 0) and falls through to the buffer switch,
covering both the SIGN and VERIFY arms.

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

Reviewed-by: Daniel Kubec <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Thu Jun 25 17:00:36 2026
(Merged from https://github.com/openssl/openssl/pull/31644)


  Commit: 259a14a27f431e8d9230034ff4aacd9dd61d47c3
      https://github.com/openssl/openssl/commit/259a14a27f431e8d9230034ff4aacd9dd61d47c3
  Author: Jakub Zelenka <[email protected]>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

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

  Log Message:
  -----------
  apps: fix Ed25519 typo in pkeyutl recipe subtest names

Two subtest descriptions read "Ed2559" instead of "Ed25519".

Reviewed-by: Daniel Kubec <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Thu Jun 25 17:00:37 2026
(Merged from https://github.com/openssl/openssl/pull/31644)


Compare: https://github.com/openssl/openssl/compare/f9e7cb8cd45a...259a14a27f43

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/f9e7cb-259a14%40github.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.