From 1e903b58e4ab1589cf4763204526acfe8e4a387b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 1 Sep 2009 16:15:36 +0000 Subject: [PATCH] We can read objects :-) --- doc/examples/cryptoki-demo.cxx | 4 ++++ doc/examples/makefile.am | 2 +- src/cryptoki.hxx | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) 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 }