aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/utils.cpp')
-rw-r--r--src/cli/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/utils.cpp b/src/cli/utils.cpp
index 92a1a9d02..6b108eb43 100644
--- a/src/cli/utils.cpp
+++ b/src/cli/utils.cpp
@@ -82,7 +82,7 @@ cli_make_rng(const std::string& rng_type, const std::string& hex_drbg_seed)
}
#endif
-#if defined(BOTAN_HAS_HMAC_DRBG)
+#if defined(BOTAN_HAS_HMAC_DRBG) && defined(BOTAN_AUTO_RNG_HMAC)
if(rng_type == "drbg")
{
std::unique_ptr<Botan::MessageAuthenticationCode> mac =