summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-12-05 09:00:04 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-12-05 09:00:04 +0100
commit5e58dc2f2e37d1751350ffa5200daad38e4217d1 (patch)
tree00b956d90377448df70eabd2c4cb8b96f42f51a6 /tests
parent2134c8ab46615a9be99a05edccec3213de2d354d (diff)
downloadgnutls-5e58dc2f2e37d1751350ffa5200daad38e4217d1.tar.gz
ciphersuite tests: define HAVE_CONFIG_H
Diffstat (limited to 'tests')
-rwxr-xr-xtests/suite/ciphersuite/scan-gnutls.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/suite/ciphersuite/scan-gnutls.sh b/tests/suite/ciphersuite/scan-gnutls.sh
index 7d5ed9ef78..cd3a2c446f 100755
--- a/tests/suite/ciphersuite/scan-gnutls.sh
+++ b/tests/suite/ciphersuite/scan-gnutls.sh
@@ -3,7 +3,7 @@
echo 'var gnutls_ciphersuites = {'
-cd ../../../lib/algorithms/ && gcc -E ciphersuites.c -I.. -DHAVE_LIBNETTLE -I../../gl -DENABLE_DHE -DENABLE_ECDHE -DENABLE_PSK -DENABLE_ANON -DENABLE_SRP \
+cd ../../../lib/algorithms/ && gcc -E ciphersuites.c -I.. -I../../ -DHAVE_CONFIG_H -DHAVE_LIBNETTLE -I../../gl -DENABLE_DHE -DENABLE_ECDHE -DENABLE_PSK -DENABLE_ANON -DENABLE_SRP \
| awk '/^static const gnutls_cipher_suite_entry cs_algorithms/, /;/ { print; }' \
| grep '{' | head -n-1 | tail -n+2 \
| sed -r -e 's#\{ *0x(..), *0x(..) *\}#0x\1\2#;s# *\{ *"#"#;s#\}##;s#, +# #g' \