mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Typo.
This commit is contained in:
@@ -728,7 +728,7 @@ void Peer::getSessionCookie(std::string& strDst)
|
||||
SHA512(s1, l1, sha1);
|
||||
SHA512(s2, l2, sha2);
|
||||
if (memcmp(s1, s2, sizeof(sha1)) == 0)
|
||||
throw std::runtime_errror("Identical finished messages");
|
||||
throw std::runtime_error("Identical finished messages");
|
||||
|
||||
for (int i = 0; i < sizeof(sha1); ++i)
|
||||
sha1[i] ^= sha2[i];
|
||||
|
||||
Reference in New Issue
Block a user