mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Add a test for constants
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user