diff options
author | René Korthaus <[email protected]> | 2016-10-18 16:38:50 +0200 |
---|---|---|
committer | René Korthaus <[email protected]> | 2016-10-19 09:13:45 +0200 |
commit | da2e26b15f7f6882768f1cb7e8a5be1b1893bf8a (patch) | |
tree | b83ce7adb7b8837981c210662675941febc645c4 /src/lib/entropy | |
parent | 99d71e5693f45c2b34528158ad8d8b641bcc87e3 (diff) |
Fix doxygen warnings [ci skip]
Diffstat (limited to 'src/lib/entropy')
-rw-r--r-- | src/lib/entropy/unix_procs/unix_procs.cpp | 8 | ||||
-rw-r--r-- | src/lib/entropy/unix_procs/unix_procs.h | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/entropy/unix_procs/unix_procs.cpp b/src/lib/entropy/unix_procs/unix_procs.cpp index d8dceba52..eae1b5255 100644 --- a/src/lib/entropy/unix_procs/unix_procs.cpp +++ b/src/lib/entropy/unix_procs/unix_procs.cpp @@ -60,10 +60,10 @@ size_t concurrent_processes(size_t user_request) /** * Unix_EntropySource Constructor */ -Unix_EntropySource::Unix_EntropySource(const std::vector<std::string>& trusted_path, - size_t proc_cnt) : - m_trusted_paths(trusted_path), - m_concurrent(concurrent_processes(proc_cnt)) +Unix_EntropySource::Unix_EntropySource(const std::vector<std::string>& trusted_paths, + size_t proc_count) : + m_trusted_paths(trusted_paths), + m_concurrent(concurrent_processes(proc_count)) { } diff --git a/src/lib/entropy/unix_procs/unix_procs.h b/src/lib/entropy/unix_procs/unix_procs.h index f87881d54..24c10fff0 100644 --- a/src/lib/entropy/unix_procs/unix_procs.h +++ b/src/lib/entropy/unix_procs/unix_procs.h @@ -32,9 +32,11 @@ class Unix_EntropySource final : public Entropy_Source * to contain only 'safe' binaries. If an attacker can write * an executable to one of these directories then we will * run arbitrary code. + * @param proc_count number of concurrent processes executing, + * when set to zero, number of processors is used */ Unix_EntropySource(const std::vector<std::string>& trusted_paths, - size_t concurrent_processes = 0); + size_t proc_count = 0); private: static std::vector<std::vector<std::string>> get_default_sources(); |