[Opendnssec-user] Why C_Initialize calling differences?

Jack Craig jack.craig.aptos at gmail.com
Mon Jan 13 20:20:00 UTC 2014


Hi Folks,

Using pkcs11-spy, i find my app calls libsofthsm.so and
the spy log shows a non-null argument to C_Initialise().

While i see the processing associated with pInitArgs, i wanted to ask what
use case the app programmer would want to call C_Initialise(pInitArgs) vs
C_Initialize(NULL_PTR) ??

all the test code i see here calls w/null_ptr...

tia, jackc...



/*****************************************************************************
 Implementation of PKCS #11 functions
 *****************************************************************************/

// PKCS #11 initialisation function
CK_RV SoftHSM::C_Initialize(CK_VOID_PTR pInitArgs)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20140113/f81a9abd/attachment.htm>


More information about the Opendnssec-user mailing list