summaryrefslogtreecommitdiff
path: root/tests/fips186-dsa.c
diff options
context:
space:
mode:
authorJustus Winter <justus@g10code.com>2016-12-13 13:33:45 +0100
committerJustus Winter <justus@g10code.com>2016-12-13 13:52:19 +0100
commit92abfca650397e1f5dfa3a5c7752eb380cc94d0e (patch)
tree5cd2111a09ee3efc41c61f10c8423d99825a8c40 /tests/fips186-dsa.c
parent4fae5c0b62f5a507a74db654c50ad1c8b182c6d5 (diff)
downloadlibgcrypt-92abfca650397e1f5dfa3a5c7752eb380cc94d0e.tar.gz
tests: Check the result of all gcry_control operations.
-- Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'tests/fips186-dsa.c')
-rw-r--r--tests/fips186-dsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/fips186-dsa.c b/tests/fips186-dsa.c
index 95c28f16..b5f0cf0b 100644
--- a/tests/fips186-dsa.c
+++ b/tests/fips186-dsa.c
@@ -411,14 +411,14 @@ main (int argc, char **argv)
debug = 1;
}
- gcry_control (GCRYCTL_DISABLE_SECMEM, 0);
+ xgcry_control (GCRYCTL_DISABLE_SECMEM, 0);
if (!gcry_check_version (GCRYPT_VERSION))
die ("version mismatch\n");
- gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
+ xgcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
if (debug)
- gcry_control (GCRYCTL_SET_DEBUG_FLAGS, 1u, 0);
+ xgcry_control (GCRYCTL_SET_DEBUG_FLAGS, 1u, 0);
/* No valuable keys are create, so we can speed up our RNG. */
- gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
+ xgcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
check_dsa_gen_186_2 ();