aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/utils.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-24 13:04:08 -0400
committerJack Lloyd <[email protected]>2017-09-24 13:04:08 -0400
commit3785deadff522923299c34bcd2ba364c02abbf0c (patch)
treed8993e9f91de3353b0be96bd7a5d542c6ae8192d /src/cli/utils.cpp
parent8e70617d88b3f486d03f156f4800673bc4e14d06 (diff)
Further build/test fixes for restricted configurations
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 =