aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-12-08 16:47:52 -0500
committerJack Lloyd <[email protected]>2019-12-08 16:47:52 -0500
commit88052456270e807b5e686a08c304364529ab22b5 (patch)
treee7ff5e746fcb46fed053a3bf2693399bea31e340 /src/lib/prov
parent16491f9d6a1ea6ae6530f252970e20930a47fa0e (diff)
Fix warning with recent GCC
Diffstat (limited to 'src/lib/prov')
-rw-r--r--src/lib/prov/openssl/openssl_hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/openssl/openssl_hash.cpp b/src/lib/prov/openssl/openssl_hash.cpp
index 4eaca12b4..a4c04cb9f 100644
--- a/src/lib/prov/openssl/openssl_hash.cpp
+++ b/src/lib/prov/openssl/openssl_hash.cpp
@@ -37,7 +37,7 @@ class OpenSSL_HashFunction final : public HashFunction
{
std::unique_ptr<OpenSSL_HashFunction> copy(new OpenSSL_HashFunction(m_name, nullptr));
EVP_MD_CTX_copy(copy->m_md, m_md);
- return std::move(copy);
+ return std::unique_ptr<HashFunction>(copy.release());
}
size_t output_length() const override