aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/dh/dh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/dh/dh.h')
-rw-r--r--src/lib/pubkey/dh/dh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/dh/dh.h b/src/lib/pubkey/dh/dh.h
index f3f4b746b..359d68f10 100644
--- a/src/lib/pubkey/dh/dh.h
+++ b/src/lib/pubkey/dh/dh.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* This class represents Diffie-Hellman public keys.
*/
-class BOTAN_DLL DH_PublicKey : public virtual DL_Scheme_PublicKey
+class BOTAN_PUBLIC_API(2,0) DH_PublicKey : public virtual DL_Scheme_PublicKey
{
public:
std::string algo_name() const override { return "DH"; }
@@ -46,7 +46,7 @@ class BOTAN_DLL DH_PublicKey : public virtual DL_Scheme_PublicKey
/**
* This class represents Diffie-Hellman private keys.
*/
-class BOTAN_DLL DH_PrivateKey : public DH_PublicKey,
+class BOTAN_PUBLIC_API(2,0) DH_PrivateKey : public DH_PublicKey,
public PK_Key_Agreement_Key,
public virtual DL_Scheme_PrivateKey
{