From: Nikos Mavrogiannopoulos Date: Fri, 5 Dec 2014 08:00:04 +0000 (+0100) Subject: ciphersuite tests: define HAVE_CONFIG_H X-Git-Tag: gnutls_3_4_0~501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e58dc2f2e37d1751350ffa5200daad38e4217d1;p=thirdparty%2Fgnutls.git ciphersuite tests: define HAVE_CONFIG_H --- 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' \