aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_oid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asn1/asn1_oid.h')
-rw-r--r--src/lib/asn1/asn1_oid.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/asn1/asn1_oid.h b/src/lib/asn1/asn1_oid.h
index 0275b58a9..4cf6e8a93 100644
--- a/src/lib/asn1/asn1_oid.h
+++ b/src/lib/asn1/asn1_oid.h
@@ -17,7 +17,7 @@ namespace Botan {
/**
* This class represents ASN.1 object identifiers.
*/
-class BOTAN_DLL OID final : public ASN1_Object
+class BOTAN_PUBLIC_API(2,0) OID final : public ASN1_Object
{
public:
void encode_into(class DER_Encoder&) const override;
@@ -73,7 +73,7 @@ class BOTAN_DLL OID final : public ASN1_Object
* @param oid the OID to add the new component to
* @param new_comp the new component to add
*/
-OID BOTAN_DLL operator+(const OID& oid, uint32_t new_comp);
+OID BOTAN_PUBLIC_API(2,0) operator+(const OID& oid, uint32_t new_comp);
/**
* Compare two OIDs.
@@ -81,7 +81,7 @@ OID BOTAN_DLL operator+(const OID& oid, uint32_t new_comp);
* @param b the second OID
* @return true if a is not equal to b
*/
-bool BOTAN_DLL operator!=(const OID& a, const OID& b);
+bool BOTAN_PUBLIC_API(2,0) operator!=(const OID& a, const OID& b);
/**
* Compare two OIDs.
@@ -89,7 +89,7 @@ bool BOTAN_DLL operator!=(const OID& a, const OID& b);
* @param b the second OID
* @return true if a is lexicographically smaller than b
*/
-bool BOTAN_DLL operator<(const OID& a, const OID& b);
+bool BOTAN_PUBLIC_API(2,0) operator<(const OID& a, const OID& b);
}