diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-02-21 11:54:26 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-02-21 11:54:26 +0100 |
commit | e186c8d1626e9c24876ef5a8f2cdc83c2c3e0d50 (patch) | |
tree | dac12f3db079ea09c2ee52d298247b50518edd66 | |
parent | 0043938de4c9f595291837816031a6fb339690ba (diff) | |
download | gnutls-e186c8d1626e9c24876ef5a8f2cdc83c2c3e0d50.tar.gz |
tests: require DTLS 1.2 when using GCM
-rw-r--r-- | tests/mini-overhead.c | 2 | ||||
-rw-r--r-- | tests/mini-record.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/mini-overhead.c b/tests/mini-overhead.c index 9a4d5e2bfc..4225364ff5 100644 --- a/tests/mini-overhead.c +++ b/tests/mini-overhead.c @@ -333,7 +333,7 @@ void doit(void) 65); /* 13 + 16(tag) + 4(iv) */ start - ("NONE:+VERS-DTLS1.0:+AES-128-GCM:+AEAD:+SIGN-ALL:+COMP-NULL:+RSA", + ("NONE:+VERS-DTLS1.2:+AES-128-GCM:+AEAD:+SIGN-ALL:+COMP-NULL:+RSA", 37); #ifndef ENABLE_FIPS140 /* 13 + 20(tag) */ diff --git a/tests/mini-record.c b/tests/mini-record.c index 71b2236b3d..9f76b2ff07 100644 --- a/tests/mini-record.c +++ b/tests/mini-record.c @@ -380,7 +380,7 @@ static void start(const char *prio) #define AES_CBC "NONE:+VERS-DTLS1.0:-CIPHER-ALL:+AES-128-CBC:+SHA1:+SIGN-ALL:+COMP-ALL:+ANON-ECDH:+CURVE-ALL" #define AES_CBC_SHA256 "NONE:+VERS-DTLS1.0:-CIPHER-ALL:+RSA:+AES-128-CBC:+AES-256-CBC:+SHA256:+SIGN-ALL:+COMP-ALL:+ANON-ECDH:+CURVE-ALL" -#define AES_GCM "NONE:+VERS-DTLS1.0:-CIPHER-ALL:+RSA:+AES-128-GCM:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+ANON-ECDH:+CURVE-ALL" +#define AES_GCM "NONE:+VERS-DTLS1.2:-CIPHER-ALL:+RSA:+AES-128-GCM:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+ANON-ECDH:+CURVE-ALL" static void ch_handler(int sig) { |