[pkg-opensc-commit] [libp11] 78/86: Re-add dummy PKCS11_ecdsa_method_free()

Eric Dorland eric at moszumanska.debian.org
Sun Jul 24 21:40:25 UTC 2016


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

eric pushed a commit to branch master
in repository libp11.

commit 3cdc9dc415309e4fa5b730cc8e4ed8b16e6f2085
Author: Michał Trojnara <Michal.Trojnara at stunnel.org>
Date:   Mon Mar 28 16:31:21 2016 +0200

    Re-add dummy PKCS11_ecdsa_method_free()
    
    Maintain binary compatibility until release 0.5.x.
---
 src/libp11.exports | 1 +
 src/p11_ec.c       | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/libp11.exports b/src/libp11.exports
index 180fddc..0f09c99 100644
--- a/src/libp11.exports
+++ b/src/libp11.exports
@@ -33,6 +33,7 @@ PKCS11_sign
 PKCS11_private_encrypt
 PKCS11_private_decrypt
 PKCS11_verify
+PKCS11_ecdsa_method_free
 PKCS11_seed_random
 PKCS11_generate_random
 PKCS11_get_rsa_method
diff --git a/src/p11_ec.c b/src/p11_ec.c
index f0b5f9f..6b49775 100644
--- a/src/p11_ec.c
+++ b/src/p11_ec.c
@@ -674,11 +674,12 @@ ECDSA_METHOD *PKCS11_get_ecdsa_method(void)
 	return NULL;
 }
 
+#endif /* OPENSSL_NO_EC */
+
+/* TODO: remove this function in libp11 0.5.0 */
 void PKCS11_ecdsa_method_free(void)
 {
-	/* no op, as it is static in the old code */
+	/* no op */
 }
 
-#endif /* OPENSSL_NO_EC */
-
 /* vim: set noexpandtab: */

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



More information about the pkg-opensc-commit mailing list