mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2025-04-19 21:22:15 +03:00
Increase WebSocket sec key length to 24 characters
This commit is contained in:
parent
4e476a651d
commit
cfe046dcb3
@ -35,8 +35,8 @@ int WebSocketClient::begin(const char* aPath)
|
||||
|
||||
if (status == 0)
|
||||
{
|
||||
uint8_t randomKey[13];
|
||||
char base64RandomKey[21];
|
||||
uint8_t randomKey[16];
|
||||
char base64RandomKey[25];
|
||||
|
||||
// create a random key for the connection upgrade
|
||||
for (int i = 0; i < (int)sizeof(randomKey); i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user