aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/hash.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-09-15 21:08:51 -0400
committerJack Lloyd <[email protected]>2016-09-15 21:08:51 -0400
commit45a8210d63c2fc0b0ab0411dba55c903da226123 (patch)
tree9bc380f1134738f624700645f8a9692c363dc7bc /src/lib/hash/hash.h
parent04bf8dc51861bab37d6260de8b318dc71ea4bba7 (diff)
Change T::provider to return std::string
Diffstat (limited to 'src/lib/hash/hash.h')
-rw-r--r--src/lib/hash/hash.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/hash/hash.h b/src/lib/hash/hash.h
index 0f35685d4..08b5d5243 100644
--- a/src/lib/hash/hash.h
+++ b/src/lib/hash/hash.h
@@ -43,9 +43,8 @@ class BOTAN_DLL HashFunction : public Buffered_Computation
/**
* @return provider information about this implementation. Default is "base",
* might also return "sse2", "avx2", "openssl", or some other arbitrary string.
- * The return value is guaranteed to point to a string literal constant.
*/
- virtual const char* provider() const { return "base"; }
+ virtual std::string provider() const { return "base"; }
HashFunction();