diff options
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; |