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-19 15:29:37 +0100
commit6e5a4071f5a3e10c911ec807ac722bd89681cc51 (patch)
tree0bd059e790cacf61cde0f004069646d7b6c51335
parent60902e9d0818422fda74840d83cfe5604782a7d1 (diff)
downloadgnutls-6e5a4071f5a3e10c911ec807ac722bd89681cc51.tar.gz
tests: check extended record padding work with TLS 1.3
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 */