aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;