diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index dc7dc917f..51dc362fd 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -158,12 +158,17 @@ std::vector<EntropySource*> Builtin_Modules::entropy_sources() const #endif #if defined(BOTAN_EXT_ENTROPY_SRC_EGD) - sources.push_back(new EGD_EntropySource(split_on("/var/run/egd-pool:/dev/egd-pool", ':'))); + sources.push_back( + new EGD_EntropySource(split_on("/var/run/egd-pool:/dev/egd-pool", ':')) + ); #endif #if defined(BOTAN_EXT_ENTROPY_SRC_DEVICE) sources.push_back( - new Device_EntropySource(split_on("/dev/random:/dev/srandom:/dev/urandom", ':'))); + new Device_EntropySource( + split_on("/dev/random:/dev/srandom:/dev/urandom", ':') + ) + ); #endif #if defined(BOTAN_EXT_ENTROPY_SRC_CAPI) @@ -175,7 +180,9 @@ std::vector<EntropySource*> Builtin_Modules::entropy_sources() const #endif #if defined(BOTAN_EXT_ENTROPY_SRC_UNIX) - sources.push_back(new Unix_EntropySource(split_on("/bin:/sbin:/usr/bin:/usr/sbin", ':'))); + sources.push_back( + new Unix_EntropySource(split_on("/bin:/sbin:/usr/bin:/usr/sbin", ':')) + ); #endif #if defined(BOTAN_EXT_ENTROPY_SRC_BEOS) |