aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-03 13:19:39 -0400
committerJack Lloyd <[email protected]>2016-11-03 13:19:39 -0400
commitf61363dea7be957e07c13aa6a4d7da7e1f57d914 (patch)
treed1f2502e3d5cf248c5de5a13fc9a1738b26e10cf /src/lib/entropy
parent660d985e92d030f4ec0c3503bc14363825183371 (diff)
Compile fix
Diffstat (limited to 'src/lib/entropy')
-rw-r--r--src/lib/entropy/entropy_srcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/entropy/entropy_srcs.cpp b/src/lib/entropy/entropy_srcs.cpp
index 125d51b1f..bc99c2400 100644
--- a/src/lib/entropy/entropy_srcs.cpp
+++ b/src/lib/entropy/entropy_srcs.cpp
@@ -97,7 +97,7 @@ std::unique_ptr<Entropy_Source> Entropy_Source::create(const std::string& name)
{
#if defined(BOTAN_HAS_ENTROPY_SRC_PROC_WALKER)
const std::string root_dir = BOTAN_ENTROPY_PROC_FS_PATH;
- if(!path.empty())
+ if(!root_dir.empty())
return std::unique_ptr<Entropy_Source>(new ProcWalking_EntropySource(root_dir));
#endif
}