[openssl/openssl] cedff4: test: build the fake cipher provider as a loadable...

"'Jakub Zelenka' via openssl-commits" <[email protected]> Mon, 13 Jul 2026 07:59:37 -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: cedff47f3895f17979988f4b5e93d0482ae5931c
      https://github.com/openssl/openssl/commit/cedff47f3895f17979988f4b5e93d0482ae5931c
  Author: Jakub Zelenka <[email protected]>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M test/build.info
    M test/fake_cipherprov.c
    M test/recipes/20-test_skeyutl.t

  Log Message:
  -----------
  test: build the fake cipher provider as a loadable module

The fake cipher provider was only available in-process, linked into test
binaries via fake_cipher_start().  To exercise app success paths (e.g.
skeyutl -genkey) the openssl app needs to load it as a provider module the
same way it loads legacy.

Make test/fake_cipherprov.c dual-buildable: drop the testutil dependency so
the source links cleanly into a module, add an OSSL_provider_init entry point
under FAKE_CIPHER_AS_MODULE, and add a fake-cipher MODULES target in
test/build.info.  Also implement skeymgmt generate so opaque key generation
works, and cover the skeyutl -genkey success path in 20-test_skeyutl.t.

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

Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Mon Jul 13 14:58:53 2026
(Merged from https://github.com/openssl/openssl/pull/31781)



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/79373c-cedff4%40github.com.