aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-24 17:48:44 -0400
committerJack Lloyd <[email protected]>2016-10-24 17:48:44 -0400
commit36e0ea1e407027ac48e82b56016a6813ff6a1082 (patch)
tree5f8d18b3e02c212571d8c0a3812f660db3b47bdb /src
parent46d6cec80542ba9c5150a379043fbd01c4563bfa (diff)
Remote unused macros
Diffstat (limited to 'src')
-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>