Index: Source/modules/websockets/WebSocketHandshake.cpp |
diff --git a/Source/modules/websockets/WebSocketHandshake.cpp b/Source/modules/websockets/WebSocketHandshake.cpp |
index 6eb6d54616246669ce3b62fb3b9f0c102d07c902..7b4e1b22595e742175b4d9b575e8071639dd90a3 100644 |
--- a/Source/modules/websockets/WebSocketHandshake.cpp |
+++ b/Source/modules/websockets/WebSocketHandshake.cpp |
@@ -122,7 +122,7 @@ static String generateSecWebSocketKey() |
String WebSocketHandshake::getExpectedWebSocketAccept(const String& secWebSocketKey) |
{ |
- static const char* const webSocketKeyGUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; |
+ static const char webSocketKeyGUID[] = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; |
static const size_t sha1HashSize = 20; // FIXME: This should be defined in SHA1.h. |
SHA1 sha1; |
CString keyData = secWebSocketKey.ascii(); |