aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-08-22 13:31:31 -0400
committerJack Lloyd <[email protected]>2019-09-06 07:04:47 -0400
commit7f412dde77c7fbd3d8857e9c42aa71ba1ca2de2f (patch)
tree3799423bfe2a6019496efb4f3dbe1405728d4b69 /src/lib/asn1
parentb0df2ea72e7091a403023dbf4f945ebd9e8cb129 (diff)
Walk back on deprecating these
Diffstat (limited to 'src/lib/asn1')
-rw-r--r--src/lib/asn1/oids.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/asn1/oids.h b/src/lib/asn1/oids.h
index 480e4f982..1f8f88905 100644
--- a/src/lib/asn1/oids.h
+++ b/src/lib/asn1/oids.h
@@ -65,12 +65,18 @@ inline bool BOTAN_DEPRECATED("Use oid == OID::from_string(name)") name_of(const
return (oid == str2oid_or_empty(name));
}
-inline std::string BOTAN_DEPRECATED("Use oid2str_or_empty") lookup(const OID& oid)
+/**
+* Prefer oid2str_or_empty
+*/
+inline std::string lookup(const OID& oid)
{
return oid2str_or_empty(oid);
}
-inline OID BOTAN_DEPRECATED("Use str2oid_or_empty") lookup(const std::string& name)
+/**
+* Prefer str2oid_or_empty
+*/
+inline OID lookup(const std::string& name)
{
return str2oid_or_empty(name);
}