diff --git a/doc/examples/cryptoki-demo.cxx b/doc/examples/cryptoki-demo.cxx index cead680..022908e 100644 --- a/doc/examples/cryptoki-demo.cxx +++ b/doc/examples/cryptoki-demo.cxx @@ -68,6 +68,10 @@ int main(int argc, char const*const*const argv) try { <<"maxKeySize: \""<_fn->C_OpenSession(_slot._slot, 0, 0, 0, &_session), + check(_slot._init->_fn->C_OpenSession + (_slot._slot, CKF_SERIAL_SESSION, 0, 0, &_session), CRYPTOKI_FN_LOG("C_OpenSession")); //! @todo pass parameter }