While debugging an issue I've been having with OpenCryptoKI, I found 
that the error logging string array had a missing comma, causing 
incorrect error messages to be reported.  Please find below a patch to 
fix this issue.


Signed-off-by: Ross McIlroy <[email protected]>
---
  usr/lib/pkcs11/common/log.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr/lib/pkcs11/common/log.c b/usr/lib/pkcs11/common/log.c
index 4b7bf50..b0046c2 100755
--- a/usr/lib/pkcs11/common/log.c
+++ b/usr/lib/pkcs11/common/log.c
@@ -413,7 +413,7 @@ static const char *ock_err_msg[] = {
  "Decryption Mgr Decrypt Failed",      /*ERR_DECRYPTMGR_DECRYPT*/
  "Decryption Mgr Final Failed",                /*ERR_DECRYPTMGR_FINAL*/
  "Decryption Mgr Init Failed",         /*ERR_DECRYPTMGR_INIT*/
-"Decryption Mgr Update Failed"         /*ERR_DECRYPTMGR_UPDATE*/
+"Decryption Mgr Update Failed",        /*ERR_DECRYPTMGR_UPDATE*/
  "DES CBC Decrypt Failed",             /*ERR_DES_CBC_DECRYPT*/
  "DES CBC Encrypt Failed",             /*ERR_DES_CBC_ENCRYPT*/
  "Token Specific DES CBC Failed",      /*ERR_DES_CBC_TOK_SPEC*/
-- 
1.8.1


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to