summaryrefslogtreecommitdiff
path: root/tests/version.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/version.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/version.c')
-rw-r--r--tests/version.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/version.c b/tests/version.c
index 0ec60442..f22c305b 100644
--- a/tests/version.c
+++ b/tests/version.c
@@ -45,7 +45,7 @@ main (int argc, char **argv)
(void)argc;
(void)argv;
- gcry_control (GCRYCTL_DISABLE_SECMEM, 0);
+ xgcry_control (GCRYCTL_DISABLE_SECMEM, 0);
if (strcmp (GCRYPT_VERSION, gcry_check_version (NULL)))
{
int oops = !gcry_check_version (GCRYPT_VERSION);
@@ -55,7 +55,7 @@ main (int argc, char **argv)
exit (1);
}
- gcry_control (GCRYCTL_PRINT_CONFIG, NULL);
+ xgcry_control (GCRYCTL_PRINT_CONFIG, NULL);
return 0;
}