aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/oids.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asn1/oids.h')
-rw-r--r--src/lib/asn1/oids.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/asn1/oids.h b/src/lib/asn1/oids.h
index 16b87dfc3..7e1dc7c8f 100644
--- a/src/lib/asn1/oids.h
+++ b/src/lib/asn1/oids.h
@@ -19,7 +19,7 @@ namespace OIDS {
* @param oid the OID to look up
* @return name associated with this OID
*/
-BOTAN_DLL std::string lookup(const OID& oid);
+BOTAN_PUBLIC_API(2,0) std::string lookup(const OID& oid);
/**
* Find the OID to a name. The lookup will be performed in the
@@ -27,7 +27,7 @@ BOTAN_DLL std::string lookup(const OID& oid);
* @param name the name to resolve
* @return OID associated with the specified name
*/
-BOTAN_DLL OID lookup(const std::string& name);
+BOTAN_PUBLIC_API(2,0) OID lookup(const std::string& name);
/**
* See if an OID exists in the internal table.