aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asn1/asn1_obj.h')
-rw-r--r--src/lib/asn1/asn1_obj.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/asn1/asn1_obj.h b/src/lib/asn1/asn1_obj.h
index 536f75ced..2d349c984 100644
--- a/src/lib/asn1/asn1_obj.h
+++ b/src/lib/asn1/asn1_obj.h
@@ -58,7 +58,7 @@ enum ASN1_Tag {
/**
* Basic ASN.1 Object Interface
*/
-class BOTAN_DLL ASN1_Object
+class BOTAN_PUBLIC_API(2,0) ASN1_Object
{
public:
/**
@@ -82,7 +82,7 @@ class BOTAN_DLL ASN1_Object
/**
* BER Encoded Object
*/
-class BOTAN_DLL BER_Object
+class BOTAN_PUBLIC_API(2,0) BER_Object
{
public:
void assert_is_a(ASN1_Tag, ASN1_Tag);
@@ -115,7 +115,7 @@ bool maybe_BER(DataSource& src);
/**
* General BER Decoding Error Exception
*/
-struct BOTAN_DLL BER_Decoding_Error : public Decoding_Error
+struct BOTAN_PUBLIC_API(2,0) BER_Decoding_Error : public Decoding_Error
{
explicit BER_Decoding_Error(const std::string&);
};
@@ -123,7 +123,7 @@ struct BOTAN_DLL BER_Decoding_Error : public Decoding_Error
/**
* Exception For Incorrect BER Taggings
*/
-struct BOTAN_DLL BER_Bad_Tag : public BER_Decoding_Error
+struct BOTAN_PUBLIC_API(2,0) BER_Bad_Tag : public BER_Decoding_Error
{
BER_Bad_Tag(const std::string& msg, ASN1_Tag tag);
BER_Bad_Tag(const std::string& msg, ASN1_Tag tag1, ASN1_Tag tag2);