aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng/system_rng/system_rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rng/system_rng/system_rng.h')
-rw-r--r--src/lib/rng/system_rng/system_rng.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/rng/system_rng/system_rng.h b/src/lib/rng/system_rng/system_rng.h
index a31bb1dba..d3566c53e 100644
--- a/src/lib/rng/system_rng/system_rng.h
+++ b/src/lib/rng/system_rng/system_rng.h
@@ -17,12 +17,12 @@ namespace Botan {
* operating system. For instance might be instantiated by /dev/urandom
* or CryptGenRandom.
*/
-BOTAN_DLL RandomNumberGenerator& system_rng();
+BOTAN_PUBLIC_API(2,0) RandomNumberGenerator& system_rng();
/*
* Instantiable reference to the system RNG.
*/
-class BOTAN_DLL System_RNG final : public RandomNumberGenerator
+class BOTAN_PUBLIC_API(2,0) System_RNG final : public RandomNumberGenerator
{
public:
std::string name() const override { return system_rng().name(); }