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 ffce244d1..b69e6c5f7 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -151,12 +151,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) @@ -168,7 +173,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) |