aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509cert.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-30 16:34:58 -0500
committerJack Lloyd <[email protected]>2017-12-30 16:34:58 -0500
commita3426e922a75dab3f5ef157bf2521d910eef5090 (patch)
tree0f06560ee0afa18a1b26813197118b923e0b6fa1 /src/lib/x509/x509cert.h
parent2d3cee8b02a1823ef05eedbbd3e435131460635a (diff)
Deprecate X509_Certificate::policies
In favor of the (new) function that returns the OIDs
Diffstat (limited to 'src/lib/x509/x509cert.h')
-rw-r--r--src/lib/x509/x509cert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/x509/x509cert.h b/src/lib/x509/x509cert.h
index eb8ceb5b3..4235d87e2 100644
--- a/src/lib/x509/x509cert.h
+++ b/src/lib/x509/x509cert.h
@@ -315,7 +315,7 @@ class BOTAN_PUBLIC_API(2,0) X509_Certificate : public X509_Object
* of this certificate.
* @return certificate policies
*/
- std::vector<std::string> policies() const;
+ std::vector<std::string> BOTAN_DEPRECATED("Use certificate_policy_oids") policies() const;
std::vector<OID> certificate_policy_oids() const;