Trivial fix to log "API already initialized" instead of "API not initialized".
Signed-off-by: Klaus Heinrich Kiwi <[email protected]> --- usr/lib/pkcs11/api/api_interface.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/usr/lib/pkcs11/api/api_interface.c b/usr/lib/pkcs11/api/api_interface.c index dabd711..91dc658 100755 --- a/usr/lib/pkcs11/api/api_interface.c +++ b/usr/lib/pkcs11/api/api_interface.c @@ -3267,7 +3267,7 @@ C_Initialize ( CK_VOID_PTR pVoid ) } } else { // Linux the atfork routines handle this - st_err_log(72, __FILE__, __LINE__); + st_err_log(73, __FILE__, __LINE__); return CKR_CRYPTOKI_ALREADY_INITIALIZED; } -- 1.6.2.5 ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Opencryptoki-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech
