Skip to content

Commit 0d3ce52

Browse files
committed
typo fix
1 parent 1f7aec1 commit 0d3ce52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HTTPConnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ void handleWebsocketHandshake(HTTPRequest * req, HTTPResponse * res) {
665665
std::string websocketKeyResponseHash(std::string const &key) {
666666
std::string newKey = key + "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
667667
uint8_t shaData[HTTPS_SHA1_LENGTH];
668-
mbedtls_sha1_ret(SHA1, (uint8_t*)newKey.data(), newKey.length(), shaData);
668+
mbedtls_sha1_ret((uint8_t*)newKey.data(), newKey.length(), shaData);
669669

670670
// Get output size required for base64 representation
671671
size_t b64BufferSize = 0;

0 commit comments

Comments
 (0)