[pkg-opensc-commit] [libp11] 09/239: move PKCS11_open_session() from libp11-int.h to libp11.h
Eric Dorland
eric at moszumanska.debian.org
Sat Oct 17 06:21:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository libp11.
commit cd44e40721f42b7a687693cbe7d3c917258086b9
Author: Ludovic Rousseau <ludovic.rousseau+github at gmail.com>
Date: Thu Aug 25 13:02:16 2005 +0000
move PKCS11_open_session() from libp11-int.h to libp11.h
---
src/libp11-int.h | 1 -
src/libp11.h | 3 +++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/libp11-int.h b/src/libp11-int.h
index e33e98f..9b66b49 100644
--- a/src/libp11-int.h
+++ b/src/libp11-int.h
@@ -121,7 +121,6 @@ typedef struct pkcs11_cert_private {
#define PKCS11_DUP(s) \
pkcs11_strdup((char *) s, sizeof(s))
-extern int PKCS11_open_session(PKCS11_SLOT *, int);
extern void pkcs11_destroy_all_slots(PKCS11_CTX *);
extern void pkcs11_destroy_slot(PKCS11_CTX *, PKCS11_SLOT *);
extern void pkcs11_destroy_keys(PKCS11_TOKEN *);
diff --git a/src/libp11.h b/src/libp11.h
index c45ccd5..67156f3 100644
--- a/src/libp11.h
+++ b/src/libp11.h
@@ -98,6 +98,9 @@ extern int PKCS11_CTX_load(PKCS11_CTX *, const char *ident);
extern void PKCS11_CTX_unload(PKCS11_CTX *);
extern void PKCS11_CTX_free(PKCS11_CTX *);
+/* open a session in RO or RW mode */
+extern int PKCS11_open_session(PKCS11_SLOT *, int);
+
/* Get a list of all slots */
extern int PKCS11_enumerate_slots(PKCS11_CTX *, PKCS11_SLOT **, unsigned int *);
--
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