diff options
author | Justus Winter <justus@g10code.com> | 2016-12-13 13:33:45 +0100 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2016-12-13 13:52:19 +0100 |
commit | 92abfca650397e1f5dfa3a5c7752eb380cc94d0e (patch) | |
tree | 5cd2111a09ee3efc41c61f10c8423d99825a8c40 /tests/t-ed25519.c | |
parent | 4fae5c0b62f5a507a74db654c50ad1c8b182c6d5 (diff) | |
download | libgcrypt-92abfca650397e1f5dfa3a5c7752eb380cc94d0e.tar.gz |
tests: Check the result of all gcry_control operations.
--
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'tests/t-ed25519.c')
-rw-r--r-- | tests/t-ed25519.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/t-ed25519.c b/tests/t-ed25519.c index 9922efca..2f59a890 100644 --- a/tests/t-ed25519.c +++ b/tests/t-ed25519.c @@ -473,13 +473,13 @@ main (int argc, char **argv) else custom_data_file = 1; - gcry_control (GCRYCTL_DISABLE_SECMEM, 0); + xgcry_control (GCRYCTL_DISABLE_SECMEM, 0); if (!gcry_check_version (GCRYPT_VERSION)) die ("version mismatch\n"); if (debug) - gcry_control (GCRYCTL_SET_DEBUG_FLAGS, 1u , 0); - gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); - gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); + xgcry_control (GCRYCTL_SET_DEBUG_FLAGS, 1u , 0); + xgcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); + xgcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); /* Ed25519 isn't supported in fips mode */ if (gcry_fips_mode_active()) |