diff options
Diffstat (limited to 'src/cli/utils.cpp')
-rw-r--r-- | src/cli/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/utils.cpp b/src/cli/utils.cpp index 620ef72a2..08c849db7 100644 --- a/src/cli/utils.cpp +++ b/src/cli/utils.cpp @@ -102,7 +102,7 @@ cli_make_rng(const std::string& rng_type, const std::string& hex_drbg_seed) std::to_string(rng->security_level()/8) + " bytes must be provided"); - return rng; + return std::unique_ptr<Botan::RandomNumberGenerator>(rng.release()); } #endif |