aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/block_cipher.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/block/block_cipher.h
parent04bf8dc51861bab37d6260de8b318dc71ea4bba7 (diff)
Change T::provider to return std::string
Diffstat (limited to 'src/lib/block/block_cipher.h')
-rw-r--r--src/lib/block/block_cipher.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/block/block_cipher.h b/src/lib/block/block_cipher.h
index 68fc0f487..b16468958 100644
--- a/src/lib/block/block_cipher.h
+++ b/src/lib/block/block_cipher.h
@@ -56,9 +56,8 @@ class BOTAN_DLL BlockCipher : public SymmetricAlgorithm
/**
* @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"; }
/**
* Encrypt a block.