mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Try a simple verification in onetimeauth_poly1305_try
This commit is contained in:
@@ -146,6 +146,7 @@ crypto_onetimeauth_pick_best_implementation(void)
|
||||
if (allocate() != 0) {
|
||||
return NULL;
|
||||
}
|
||||
doit();
|
||||
err = checksum_compute();
|
||||
deallocate();
|
||||
if (err == NULL && strcmp(checksum, CHECKSUM) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user