Commit ba569d08ed for openssl.org

commit ba569d08ed7ba946aaa1285c9e540b91d451a5bd
Author: Bob Beck <beck@openssl.org>
Date:   Wed Jun 10 16:44:04 2026 -0600

    Add a patch disabling the pem_encoder test

    This seems to have strange internal failures retrieving EC keys from
    the kryoptic soft hsm. (based on reading the meson stuff this also
    occurs on some linux distros and this is disabled there too)

    The same test appears to work fine with RSA keys, but diagnosing
    this is challenging with nothing int the voluminous output that
    might say why it didn't work. So disable this for now

    Reviewed-by: Milan Broz <mbroz@openssl.org>
    Reviewed-by: Norbert Pocs <norbertp@openssl.org>
    MergeDate: Sat Jul 18 13:01:21 2026
    (Merged from https://github.com/openssl/openssl/pull/31194)

diff --git a/test/recipes/95-test_external_pkcs11_provider_data/patches/0002-Temporarily-disable-the-pem-encoder.patch b/test/recipes/95-test_external_pkcs11_provider_data/patches/0002-Temporarily-disable-the-pem-encoder.patch
new file mode 100644
index 0000000000..2498938a69
--- /dev/null
+++ b/test/recipes/95-test_external_pkcs11_provider_data/patches/0002-Temporarily-disable-the-pem-encoder.patch
@@ -0,0 +1,27 @@
+From 891c0d9a615ce37506969875792afdb6defe9b79 Mon Sep 17 00:00:00 2001
+From: Bob Beck <beck@openssl.org>
+Date: Wed, 10 Jun 2026 16:40:37 -0600
+Subject: [PATCH] Temporarily disable the pem encoder
+
+This appears to have some sort of internal error fetching ec keys
+from the softhsm. (and appears to also be disabled for
+similar reasons on some linux distros)
+---
+ tests/meson.build | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/tests/meson.build b/tests/meson.build
+index 6050fe5..24520d1 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -155,7 +155,6 @@ tests = {
+   'oaepsha2': {'suites': ['softokn', 'kryoptic', 'kryoptic.nss']},
+   'hkdf': {'suites': ['softokn', 'kryoptic', 'kryoptic.nss']},
+   'imported' : {'suites': ['softokn', 'kryoptic', 'kryoptic.nss']},
+-  'pem_encoder': {'suites': all_suites},
+   'rsa': {'suites': all_suites},
+   'rsapss': {'suites': all_suites},
+   'rsapssam': {'suites': ['softhsm', 'kryoptic']},
+--
+2.53.0
+