diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 12 | ||||
-rw-r--r-- | tests/memset.c | 1 |
2 files changed, 10 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 87da31a25d..646aa819bd 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -147,13 +147,13 @@ ctests += mini-record-2 simple gnutls_hmac_fast set_pkcs12_cred cert certuniquei mini-emsgsize-dtls chainverify-unsorted mini-overhead tls12-ffdhe \ mini-dtls-heartbeat mini-x509-callbacks key-openssl priorities priorities-groups \ gnutls_x509_privkey_import gnutls_x509_crt_list_import \ - sign-verify-ext4 tls-neg-ext4-key resume-lifetime \ + sign-verify-ext4 tls-neg-ext4-key resume-lifetime memset0 memset1 \ mini-dtls-srtp rsa-encrypt-decrypt mini-loss-time gnutls-strcodes \ mini-record mini-dtls-record handshake-timeout mini-record-range \ mini-cert-status fips-mode-pthread rsa-psk global-init sec-params sign-verify-data \ fips-test fips-override-test mini-global-load name-constraints x509-extensions \ long-session-id mini-x509-callbacks-intr mini-dtls-lowmtu set_x509_key_file-late \ - crlverify mini-dtls-discard init_fds mini-record-failure memset \ + crlverify mini-dtls-discard init_fds mini-record-failure \ tls12-rehandshake-cert-2 custom-urls set_x509_key_mem set_x509_key_file \ mini-chain-unsorted x509-verify-with-crl mini-dtls-mtu privkey-verify-broken \ mini-dtls-record-asym key-import-export priority-set priority-set2 \ @@ -236,6 +236,14 @@ fips_mode_pthread_LDADD = $(LDADD) -lpthread mini_dtls_pthread_LDADD = $(LDADD) -lpthread rng_pthread_LDADD = $(LDADD) -lpthread +memset0_CFLAGS = -DCHAR=0x0 +memset0_SOURCES = memset.c +memset0_LDADD = $(LDADD) + +memset1_CFLAGS = -DCHAR=0xa +memset1_SOURCES = memset.c +memset1_LDADD = $(LDADD) + tls12_rollback_detection_CFLAGS = -DTLS12 tls12_rollback_detection_SOURCES = tls13/rnd-rollback-detection.c tls12_rollback_detection_LDADD = $(LDADD) ../gl/libgnu.la diff --git a/tests/memset.c b/tests/memset.c index 574df7caca..b39f289b4a 100644 --- a/tests/memset.c +++ b/tests/memset.c @@ -33,7 +33,6 @@ #include "utils.h" #define BUF_SIZE 128 -#define CHAR 0x0a void func1(void); void func2(void); |