summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-01-03 14:14:56 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-05 09:11:34 +0100
commitfcb4fc60dad6a30a2af90873349bcb82babb832b (patch)
treebabfc0fd66bfe2da99d77ffbfe938045426a7445
parentd88b3984f0f943662d60233a1e82854f8126b9f8 (diff)
downloadgnutls-tmp-draft-ietf-tls-tls13-21-dueno-padding.tar.gz
tests: check extended record padding work with TLS 1.3tmp-draft-ietf-tls-tls13-21-dueno-padding
Signed-off-by: Daiki Ueno <dueno@redhat.com>
-rw-r--r--tests/mini-record-range.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/mini-record-range.c b/tests/mini-record-range.c
index e46ad841e7..38d7c8d139 100644
--- a/tests/mini-record-range.c
+++ b/tests/mini-record-range.c
@@ -1,7 +1,7 @@
/*
- * Copyright (C) 2012 Free Software Foundation, Inc.
+ * Copyright (C) 2012-2018 Free Software Foundation, Inc.
*
- * Author: Nikos Mavrogiannopoulos
+ * Author: Nikos Mavrogiannopoulos, Daiki Ueno
*
* This file is part of GnuTLS.
*
@@ -15,9 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with GnuTLS; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>
*/
#ifdef HAVE_CONFIG_H
@@ -324,6 +323,7 @@ static void start(const char *prio)
}
#define AES_CBC "NONE:+VERS-TLS1.2:+AES-128-CBC:+MAC-ALL:+SIGN-ALL:+ANON-ECDH:+CURVE-ALL"
+#define AES_GCM "NONE:+VERS-TLS1.3:+AES-256-GCM:+AEAD:+SIGN-ALL:+GROUP-ALL"
static void ch_handler(int sig)
{
@@ -338,6 +338,7 @@ void doit(void)
signal(SIGCHLD, ch_handler);
start(AES_CBC);
+ start(AES_GCM);
}
#endif /* _WIN32 */