Skip to content
Snippets Groups Projects
Commit 39ec936a authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

[#2284] Fix implicit conversion into char*

parent f5ce9263
No related branches found
No related tags found
No related merge requests found
...@@ -71,9 +71,9 @@ namespace sfl { ...@@ -71,9 +71,9 @@ namespace sfl {
* as defined in RFC4568 (6.2) * as defined in RFC4568 (6.2)
*/ */
const CryptoSuiteDefinition CryptoSuites[3] = { const CryptoSuiteDefinition CryptoSuites[3] = {
{"AES_CM_128_HMAC_SHA1_80", 128, 112, 48, 31, AESCounterMode, 128, HMACSHA1, 80, 80, 160, 160 }, {(char*)"AES_CM_128_HMAC_SHA1_80", 128, 112, 48, 31, AESCounterMode, 128, HMACSHA1, 80, 80, 160, 160 },
{"AES_CM_128_HMAC_SHA1_32", 128, 112, 48, 31, AESCounterMode, 128, HMACSHA1, 32, 80, 160, 160 }, {(char*)"AES_CM_128_HMAC_SHA1_32", 128, 112, 48, 31, AESCounterMode, 128, HMACSHA1, 32, 80, 160, 160 },
{"F8_128_HMAC_SHA1_80", 128, 112, 48, 31, AESF8Mode, 128, HMACSHA1, 80, 80, 160, 160 } }; {(char*)"F8_128_HMAC_SHA1_80", 128, 112, 48, 31, AESF8Mode, 128, HMACSHA1, 80, 80, 160, 160 } };
class CryptoAttribute { class CryptoAttribute {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment