aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/ocsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/x509/ocsp.h')
-rw-r--r--src/lib/x509/ocsp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/x509/ocsp.h b/src/lib/x509/ocsp.h
index 63dc94b6a..550fd09e2 100644
--- a/src/lib/x509/ocsp.h
+++ b/src/lib/x509/ocsp.h
@@ -20,7 +20,7 @@ namespace OCSP {
/**
* An OCSP request.
*/
-class BOTAN_DLL Request
+class BOTAN_PUBLIC_API(2,0) Request
{
public:
/**
@@ -66,7 +66,7 @@ class BOTAN_DLL Request
*
* Note this class is only usable as an OCSP client
*/
-class BOTAN_DLL Response
+class BOTAN_PUBLIC_API(2,0) Response
{
public:
/**
@@ -175,7 +175,7 @@ BOTAN_DLL Response online_check(const X509_Certificate& issuer,
* @param trusted_roots trusted roots for the OCSP response
* @return OCSP response
*/
-BOTAN_DLL Response online_check(const X509_Certificate& issuer,
+BOTAN_PUBLIC_API(2,0) Response online_check(const X509_Certificate& issuer,
const X509_Certificate& subject,
Certificate_Store* trusted_roots);