diff options
author | Jack Lloyd <[email protected]> | 2016-09-15 21:08:51 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-09-15 21:08:51 -0400 |
commit | 45a8210d63c2fc0b0ab0411dba55c903da226123 (patch) | |
tree | 9bc380f1134738f624700645f8a9692c363dc7bc /src/lib/modes/cipher_mode.h | |
parent | 04bf8dc51861bab37d6260de8b318dc71ea4bba7 (diff) |
Change T::provider to return std::string
Diffstat (limited to 'src/lib/modes/cipher_mode.h')
-rw-r--r-- | src/lib/modes/cipher_mode.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/modes/cipher_mode.h b/src/lib/modes/cipher_mode.h index fa4c0aa8d..e98f014b7 100644 --- a/src/lib/modes/cipher_mode.h +++ b/src/lib/modes/cipher_mode.h @@ -169,9 +169,8 @@ class BOTAN_DLL Cipher_Mode /** * @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"; } private: virtual void key_schedule(const byte key[], size_t length) = 0; |