aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/prov/pkcs11/p11.h4
-rw-r--r--src/lib/prov/pkcs11/p11_object.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/prov/pkcs11/p11.h b/src/lib/prov/pkcs11/p11.h
index cacf613a4..72abcd611 100644
--- a/src/lib/prov/pkcs11/p11.h
+++ b/src/lib/prov/pkcs11/p11.h
@@ -17,10 +17,6 @@
#include <string>
#include <map>
-#define BOTAN_PKCS11_RSA_PRIO 90
-#define BOTAN_PKCS11_ECDSA_PRIO 90
-#define BOTAN_PKCS11_ECDH_PRIO 90
-
#define CK_PTR *
#if defined(_MSC_VER)
diff --git a/src/lib/prov/pkcs11/p11_object.h b/src/lib/prov/pkcs11/p11_object.h
index dcdfe2a41..cae1969a2 100644
--- a/src/lib/prov/pkcs11/p11_object.h
+++ b/src/lib/prov/pkcs11/p11_object.h
@@ -716,7 +716,7 @@ class BOTAN_DLL Object
{}
const std::reference_wrapper<Session> m_session;
- ObjectHandle m_handle;
+ ObjectHandle m_handle = CK_INVALID_HANDLE;
};
template<typename T>