diff options
author | Jack Lloyd <[email protected]> | 2016-12-27 15:48:00 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-19 22:30:41 -0400 |
commit | 12c4dfec24e999ab80ff3a45e0b837976d4c390c (patch) | |
tree | 7de91a2b86aec055800b8e046729fcc10a31d6d8 /src/lib/pubkey/dh | |
parent | 0c6c4e058109791a9f17971ca782dc10af3eb9bc (diff) |
Add API stability annotations.
Defined in build.h, all equal to BOTAN_DLL so ties into existing
system for exporting symbols.
Diffstat (limited to 'src/lib/pubkey/dh')
-rw-r--r-- | src/lib/pubkey/dh/dh.h | 4 |
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 { |