diff options
author | Jack Lloyd <[email protected]> | 2018-03-06 07:01:01 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-06 07:01:01 -0500 |
commit | ffb68f149f1c8b3905db96090e510181e35f668f (patch) | |
tree | ccfcfdffee1656f99fd63bf8eeb06aa16493383c /src/lib/prov/pkcs11/p11.h | |
parent | 7946a5cd5ef1f9b9eddea32ec2ac0abd7e64f6be (diff) |
Ensure exception types are exported from DLL
GH #983
Diffstat (limited to 'src/lib/prov/pkcs11/p11.h')
-rw-r--r-- | src/lib/prov/pkcs11/p11.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) : |