diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules.cpp | 13 | ||||
-rw-r--r-- | src/pipe_rw.cpp | 3 |
2 files changed, 12 insertions, 4 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) diff --git a/src/pipe_rw.cpp b/src/pipe_rw.cpp index 46fce2fd9..58d7dd1ad 100644 --- a/src/pipe_rw.cpp +++ b/src/pipe_rw.cpp @@ -12,7 +12,8 @@ namespace Botan { /************************************************* * Look up the canonical ID for a queue * *************************************************/ -Pipe::message_id Pipe::get_message_no(const std::string& func_name, message_id msg) const +Pipe::message_id Pipe::get_message_no(const std::string& func_name, + message_id msg) const { if(msg == DEFAULT_MESSAGE) msg = default_msg(); |