diff options
author | Jack Lloyd <[email protected]> | 2017-08-31 06:22:57 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-31 06:22:57 -0400 |
commit | 8d4132e05b8eeba986d88548bd2ac5c21e1db689 (patch) | |
tree | e21550175314263ef41b08672c8d67034872f86f /src/cli | |
parent | bb305eff61014d326ae59f0e98a22c5bdf4842fc (diff) |
Work around limitation in old GCC and Clang
Diffstat (limited to 'src/cli')
-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 |