From ffb68f149f1c8b3905db96090e510181e35f668f Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Tue, 6 Mar 2018 07:01:01 -0500 Subject: Ensure exception types are exported from DLL GH #983 --- src/lib/prov/pkcs11/p11.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/prov/pkcs11/p11.h') diff --git a/src/lib/prov/pkcs11/p11.h b/src/lib/prov/pkcs11/p11.h index 50294d214..a1f85af45 100644 --- a/src/lib/prov/pkcs11/p11.h +++ b/src/lib/prov/pkcs11/p11.h @@ -2821,7 +2821,7 @@ class BOTAN_PUBLIC_API(2,0) LowLevel const FunctionListPtr m_func_list_ptr; }; -class PKCS11_Error : public Exception +class BOTAN_PUBLIC_API(2,0) PKCS11_Error : public Exception { public: explicit PKCS11_Error(const std::string& what) : @@ -2830,7 +2830,7 @@ class PKCS11_Error : public Exception } }; -class PKCS11_ReturnError final : public PKCS11_Error +class BOTAN_PUBLIC_API(2,0) PKCS11_ReturnError final : public PKCS11_Error { public: explicit PKCS11_ReturnError(ReturnValue return_val) : -- cgit v1.2.3