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/keygrip.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/keygrip.c')
-rw-r--r-- | tests/keygrip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/keygrip.c b/tests/keygrip.c index e036d20b..f775f7a1 100644 --- a/tests/keygrip.c +++ b/tests/keygrip.c @@ -294,10 +294,10 @@ main (int argc, char **argv) gcry_set_progress_handler (progress_handler, NULL); - gcry_control (GCRYCTL_DISABLE_SECMEM, 0); - gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); + xgcry_control (GCRYCTL_DISABLE_SECMEM, 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); check (); |