diff options
author | Jack Lloyd <[email protected]> | 2017-06-07 16:28:40 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-06-07 16:28:40 -0400 |
commit | 43b35006889f8a9e2ae326ddd482240ada180ab4 (patch) | |
tree | 60812d51294c380aef4e504fbdc9a511fa31f0d0 /src/tests/test_ed25519.cpp | |
parent | e125950d50406f9b2cbc0815777b5d3e9875e6c8 (diff) |
Workaround unique_ptr conversion problem with old clang
Diffstat (limited to 'src/tests/test_ed25519.cpp')
-rw-r--r-- | src/tests/test_ed25519.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_ed25519.cpp b/src/tests/test_ed25519.cpp index 50bf88f2d..586d71dd8 100644 --- a/src/tests/test_ed25519.cpp +++ b/src/tests/test_ed25519.cpp @@ -37,7 +37,7 @@ class Ed25519_Signature_Tests : public PK_Signature_Generation_Test if(key->get_public_key() != pubkey) throw Test_Error("Invalid Ed25519 key in test data"); - return key; + return std::unique_ptr<Botan::Private_Key>(key.release()); } std::string default_padding(const VarMap& vars) const override |