mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Add a test for constants
This commit is contained in:
parent
a60d877327
commit
fc10e78580
@ -42,6 +42,9 @@ main(void)
|
||||
sodium_free(p);
|
||||
sodium_free(n);
|
||||
|
||||
assert(crypto_scalarmult_ed25519_BYTES == crypto_scalarmult_ed25519_bytes());
|
||||
assert(crypto_scalarmult_ed25519_SCALARBYTES == crypto_scalarmult_ed25519_scalarbytes());
|
||||
|
||||
printf("OK\n");
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user