This commit is contained in:
Brenton Bostick 2023-01-13 09:14:57 -06:00 committed by GitHub
parent ea0f7dde95
commit be95b56c10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -400,7 +400,7 @@ static int testCrypto()
C25519::agree(p1,p2.pub,buf1,64);
C25519::agree(p2,p1.pub,buf2,64);
C25519::agree(p3,p1.pub,buf3,64);
// p1<>p2 should equal p1<>p2
// p1<>p2 should equal p2<>p1
if (memcmp(buf1,buf2,64)) {
std::cout << "FAIL (1)" << std::endl;
return -1;