summaryrefslogtreecommitdiff
path: root/package/opensc/patches/patch-src_tools_pkcs11-tool_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/opensc/patches/patch-src_tools_pkcs11-tool_c')
-rw-r--r--package/opensc/patches/patch-src_tools_pkcs11-tool_c18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/opensc/patches/patch-src_tools_pkcs11-tool_c b/package/opensc/patches/patch-src_tools_pkcs11-tool_c
new file mode 100644
index 000000000..0e9f5a66a
--- /dev/null
+++ b/package/opensc/patches/patch-src_tools_pkcs11-tool_c
@@ -0,0 +1,18 @@
+--- opensc-0.11.13.orig/src/tools/pkcs11-tool.c 2010-02-16 10:03:25.000000000 +0100
++++ opensc-0.11.13/src/tools/pkcs11-tool.c 2010-12-15 21:54:01.000000000 +0100
+@@ -2235,7 +2235,6 @@ static int sign_verify_openssl(CK_SLOT_I
+ EVP_sha1(),
+ EVP_sha1(),
+ EVP_md5(),
+- EVP_ripemd160(),
+ };
+ #endif
+
+@@ -2820,7 +2819,6 @@ static int test_unwrap(CK_SLOT_ID slot,
+ errors += wrap_unwrap(slot, sess, EVP_des_cbc(), privKeyObject);
+ errors += wrap_unwrap(slot, sess, EVP_des_ede3_cbc(), privKeyObject);
+ errors += wrap_unwrap(slot, sess, EVP_bf_cbc(), privKeyObject);
+- errors += wrap_unwrap(slot, sess, EVP_cast5_cfb(), privKeyObject);
+ #endif
+ }
+