aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-19 22:16:20 -0400
committerJack Lloyd <[email protected]>2017-09-19 22:30:44 -0400
commitda5466639c474bea919aee1aefda76ed4625fe85 (patch)
tree90ca44fa2b8ed8e828d316886452e8c80d6f08ad /src/lib/x509
parent2f4b1610dc0b273c66c494e7bbef0116d9fd6511 (diff)
Complete the final annotation changes
Diffstat (limited to 'src/lib/x509')
-rw-r--r--src/lib/x509/ocsp.h16
-rw-r--r--src/lib/x509/x509_ext.h2
2 files changed, 10 insertions, 8 deletions
diff --git a/src/lib/x509/ocsp.h b/src/lib/x509/ocsp.h
index 550fd09e2..dc3532247 100644
--- a/src/lib/x509/ocsp.h
+++ b/src/lib/x509/ocsp.h
@@ -163,10 +163,11 @@ class BOTAN_PUBLIC_API(2,0) Response
#if defined(BOTAN_HAS_HTTP_UTIL)
-BOTAN_DLL Response online_check(const X509_Certificate& issuer,
- const BigInt& subject_serial,
- const std::string& ocsp_responder,
- Certificate_Store* trusted_roots);
+BOTAN_PUBLIC_API(2,1)
+Response online_check(const X509_Certificate& issuer,
+ const BigInt& subject_serial,
+ const std::string& ocsp_responder,
+ Certificate_Store* trusted_roots);
/**
* Makes an online OCSP request via HTTP and returns the OCSP response.
@@ -175,9 +176,10 @@ BOTAN_DLL Response online_check(const X509_Certificate& issuer,
* @param trusted_roots trusted roots for the OCSP response
* @return OCSP response
*/
-BOTAN_PUBLIC_API(2,0) Response online_check(const X509_Certificate& issuer,
- const X509_Certificate& subject,
- Certificate_Store* trusted_roots);
+BOTAN_PUBLIC_API(2,0)
+Response online_check(const X509_Certificate& issuer,
+ const X509_Certificate& subject,
+ Certificate_Store* trusted_roots);
#endif
diff --git a/src/lib/x509/x509_ext.h b/src/lib/x509/x509_ext.h
index 22598d41a..a77edc194 100644
--- a/src/lib/x509/x509_ext.h
+++ b/src/lib/x509/x509_ext.h
@@ -83,7 +83,7 @@ class BOTAN_PUBLIC_API(2,0) Certificate_Extension
/**
* X.509 Certificate Extension List
*/
-class BOTAN_UNSTABLE_API Extensions : public ASN1_Object
+class BOTAN_PUBLIC_API(2,0) Extensions : public ASN1_Object
{
public:
void encode_into(class DER_Encoder&) const override;