From f2b8078cb1138d9935c842ba85fcc66e36b199ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 9 Dec 2009 11:13:54 +0000 Subject: [PATCH] new method Init.reset() - try whether we can find newly added slots --- install-64-and-32-bit-linux.sh | 8 +++++--- src/cryptoki.cxx | 8 +------- src/cryptoki.hxx | 8 ++++++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/install-64-and-32-bit-linux.sh b/install-64-and-32-bit-linux.sh index 1cf121b..b1d1813 100755 --- a/install-64-and-32-bit-linux.sh +++ b/install-64-and-32-bit-linux.sh @@ -1,5 +1,8 @@ ./bootstrap.sh && \ -LDFLAGS="-L/usr/lib32 -m32" CXXFLAGS="-m32" ./configure \ +LDFLAGS="-L/usr/lib32 -m32" \ + CXXFLAGS="-m32" \ + CPPFLAGS="-DCRYPTOKI_LOG\(X\)='std::clog<C_Finalize(0), CRYPTOKI_FN_LOG("C_Finalize")); + check(_fn->C_Initialize(0), CRYPTOKI_FN_LOG("C_Initialize")); + return *this; + } + /*! @name C Like Error Handling You are strongly recommended not to disable exception @@ -1083,8 +1089,6 @@ namespace cryptoki { //! Create a new PrivateKey Object. Object create(const std::string& label, const openssl::PrivateKey& key, const openssl::X509& cert); - //! Create a new Certificate and optional PrivateKey Object. - Object create(const std::string& label, const openssl::PKCS12& p12); //@}