mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 02:25:14 -07:00
test: fix two error messages (#1034)
This commit is contained in:
parent
3d807d9205
commit
fcff8e9cee
@ -172,7 +172,7 @@ tv3(void)
|
||||
printf("addition failed");
|
||||
}
|
||||
if (crypto_core_ristretto255_sub(s2, s2, s_) != 0) {
|
||||
printf("substraction failed");
|
||||
printf("subtraction failed");
|
||||
}
|
||||
if (crypto_core_ristretto255_is_valid_point(s2) == 0) {
|
||||
printf("invalid point");
|
||||
@ -181,7 +181,7 @@ tv3(void)
|
||||
printf("s2 + s - s_ != s\n");
|
||||
}
|
||||
if (crypto_core_ristretto255_sub(s2, s2, s) != 0) {
|
||||
printf("substraction failed");
|
||||
printf("subtraction failed");
|
||||
}
|
||||
if (crypto_core_ristretto255_is_valid_point(s2) == -1) {
|
||||
printf("s + s' - s - s' != 0");
|
||||
|
Loading…
Reference in New Issue
Block a user