aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/mac
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/mac
parent04bf8dc51861bab37d6260de8b318dc71ea4bba7 (diff)
Change T::provider to return std::string
Diffstat (limited to 'src/lib/mac')
-rw-r--r--src/lib/mac/mac.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/mac/mac.h b/src/lib/mac/mac.h
index 1fbb36824..ae8ea5405 100644
--- a/src/lib/mac/mac.h
+++ b/src/lib/mac/mac.h
@@ -55,9 +55,8 @@ class BOTAN_DLL MessageAuthenticationCode : 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"; }
};