From 2e087e6e0f04179fa4f4d5f473ac73185dec612d Mon Sep 17 00:00:00 2001 From: fr4nk2 Date: Mon, 13 Feb 2023 22:31:32 +0800 Subject: [PATCH] Enable pkcs11 support --- 0001-PATCH-pkcs11_test_fix.patch | 98 ++++++++++++++++++++++++++++++++ libssh.spec | 15 ++++- 2 files changed, 110 insertions(+), 3 deletions(-) create mode 100644 0001-PATCH-pkcs11_test_fix.patch diff --git a/0001-PATCH-pkcs11_test_fix.patch b/0001-PATCH-pkcs11_test_fix.patch new file mode 100644 index 0000000..915283b --- /dev/null +++ b/0001-PATCH-pkcs11_test_fix.patch @@ -0,0 +1,98 @@ +diff --git a/tests/pkcs11/setup-softhsm-tokens.sh b/tests/pkcs11/setup-softhsm-tokens.sh +index 532c86a7..9050cea6 100755 +--- a/tests/pkcs11/setup-softhsm-tokens.sh ++++ b/tests/pkcs11/setup-softhsm-tokens.sh +@@ -17,10 +17,10 @@ echo "OBJNAME: $OBJNAME" + echo "LOADPUBLIC: $LOADPUBLIC" + + # Create temporary directory for tokens +-install -d -m 0755 $TESTDIR/db ++install -d -m 0755 "$TESTDIR/db" + + # Create SoftHSM configuration file +-cat >$TESTDIR/softhsm.conf <"$TESTDIR/softhsm.conf" < - 0.10.4-3 +- Enable pkcs11 support + * Thu Oct 20 2022 mgb01105731 - 0.10.4-2 - optimise spec file -- Gitee