[SmartcardServices-Changes] [105] trunk/Tokend/PKCS11

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 29 07:48:30 PST 2010


Revision: 105
          http://trac.macosforge.org/projects/smartcardservices/changeset/105
Author:   ludovic.rousseau at gmail.com
Date:     2010-01-29 07:48:28 -0800 (Fri, 29 Jan 2010)
Log Message:
-----------
export pkcs11_error() used to convert a PKCS#11 error code in a CKR_*
string

Modified Paths:
--------------
    trunk/Tokend/PKCS11/GemaltoError.cpp
    trunk/Tokend/PKCS11/GemaltoError.h

Modified: trunk/Tokend/PKCS11/GemaltoError.cpp
===================================================================
--- trunk/Tokend/PKCS11/GemaltoError.cpp	2010-01-29 13:46:45 UTC (rev 104)
+++ trunk/Tokend/PKCS11/GemaltoError.cpp	2010-01-29 15:48:28 UTC (rev 105)
@@ -169,7 +169,7 @@
 { NULL, 0 }
 };
 
-static const char* pkcs11_error(CK_RV rv)
+const char* pkcs11_error(CK_RV rv)
 {
 	int i;
 	for (i=0; s_pkcs11_errors[i].name!=NULL; i++) {

Modified: trunk/Tokend/PKCS11/GemaltoError.h
===================================================================
--- trunk/Tokend/PKCS11/GemaltoError.h	2010-01-29 13:46:45 UTC (rev 104)
+++ trunk/Tokend/PKCS11/GemaltoError.h	2010-01-29 15:48:28 UTC (rev 105)
@@ -33,6 +33,7 @@
 #include <security_utilities/errors.h>
 #include "cryptoki.h"
 
+const char* pkcs11_error(CK_RV rv);
 
 class CKError : public Security::CommonError
 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/smartcardservices-changes/attachments/20100129/c3a64ab4/attachment.html>


More information about the SmartcardServices-Changes mailing list