summaryrefslogtreecommitdiff
path: root/tests/keygrip.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-06-26 11:09:42 +0200
committerWerner Koch <wk@gnupg.org>2013-06-26 11:11:32 +0200
commit6540b84a6e9113813e7e49e3ad2024d4a0073300 (patch)
treef0938b97cba75ba9a34c3eec6bf149abaa383992 /tests/keygrip.c
parent3544fa8aa63bef9a35abf236e9376191b5ec206b (diff)
downloadlibgcrypt-6540b84a6e9113813e7e49e3ad2024d4a0073300.tar.gz
Make gpg-error replacement defines more robust.
* configure.ac (AH_BOTTOM): Move GPG_ERR_ replacement defines to ... * src/gcrypt-int.h: new file. * src/visibility.h, src/cipher.h: Replace gcrypt.h by gcrypt-int.h. * tests/: Ditto for all test files. -- Defining newer gpg-error codes in config.h was not a good idea, because config.h is usually included before gpg-error.h and thus gpg-error.h would be double defines to lead to faulty code there like typedef enum { [...] 191 = 191, [...] };
Diffstat (limited to 'tests/keygrip.c')
-rw-r--r--tests/keygrip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/keygrip.c b/tests/keygrip.c
index a496ca2c..a89bba87 100644
--- a/tests/keygrip.c
+++ b/tests/keygrip.c
@@ -28,7 +28,7 @@
#include <stdarg.h>
#include <assert.h>
-#include "../src/gcrypt.h"
+#include "../src/gcrypt-int.h"
static int verbose;
static int repetitions;