[pkg-opensc-commit] [engine-pkcs11] 25/152: libp11 trunk now exports PKCS11_get_rsa_method().

Eric Dorland eric at moszumanska.debian.org
Mon Oct 19 03:11:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository engine-pkcs11.

commit bd4860f27c6c8b4ecbc0aabcd2992dd119477e0b
Author: Andreas Jellinghaus <andreas at ionisiert.de>
Date:   Tue Nov 1 23:42:15 2005 +0000

    libp11 trunk now exports PKCS11_get_rsa_method().
---
 src/engine_pkcs11.h | 3 ---
 src/hw_pkcs11.c     | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/engine_pkcs11.h b/src/engine_pkcs11.h
index 4b03998..2255742 100644
--- a/src/engine_pkcs11.h
+++ b/src/engine_pkcs11.h
@@ -53,7 +53,4 @@ EVP_PKEY *pkcs11_load_public_key(ENGINE * e, const char *s_key_id,
 EVP_PKEY *pkcs11_load_private_key(ENGINE * e, const char *s_key_id,
 				  UI_METHOD * ui_method, void *callback_data);
 
-/* defined in p11_rsa.c */
-RSA_METHOD *pkcs11_get_rsa_method(void);
-
 #endif
diff --git a/src/hw_pkcs11.c b/src/hw_pkcs11.c
index 82804ce..597c742 100644
--- a/src/hw_pkcs11.c
+++ b/src/hw_pkcs11.c
@@ -168,7 +168,7 @@ static int bind_helper(ENGINE * e)
 	    !ENGINE_set_cmd_defns(e, pkcs11_cmd_defns) ||
 	    !ENGINE_set_name(e, PKCS11_ENGINE_NAME) ||
 #ifndef OPENSSL_NO_RSA
-	    !ENGINE_set_RSA(e, pkcs11_get_rsa_method()) ||
+	    !ENGINE_set_RSA(e, PKCS11_get_rsa_method()) ||
 #endif
 #ifndef OPENSSL_NO_DSA
 	    !ENGINE_set_DSA(e, DSA_get_default_method()) ||

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/engine-pkcs11.git



More information about the pkg-opensc-commit mailing list