From 4a91b4654c78d359cb9e0cc479b358b673046f5d Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 23 Jan 2019 23:29:56 +0000 Subject: Rename NUM_HANDSHAKE to handshake_count and make it a variable so it can be used from regress. Update regress accordingly. Make sure the print target generates the entire table as it currently is in tls13_handshake.c discussed with beck and jsing ok jsing --- src/regress/lib/libssl/handshake/valid_handshakes_terminate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/regress/lib/libssl/handshake/valid_handshakes_terminate.c') diff --git a/src/regress/lib/libssl/handshake/valid_handshakes_terminate.c b/src/regress/lib/libssl/handshake/valid_handshakes_terminate.c index df87087644..18e441d1a1 100644 --- a/src/regress/lib/libssl/handshake/valid_handshakes_terminate.c +++ b/src/regress/lib/libssl/handshake/valid_handshakes_terminate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: valid_handshakes_terminate.c,v 1.1 2019/01/20 06:47:38 tb Exp $ */ +/* $OpenBSD: valid_handshakes_terminate.c,v 1.2 2019/01/23 23:29:56 tb Exp $ */ /* * Copyright (c) 2019 Theo Buehler * @@ -27,7 +27,7 @@ main(int argc, char *argv[]) int terminates; int fail = 0; - for (i = 1; i < NUM_HANDSHAKES; i++) { + for (i = 1; i < handshake_count; i++) { enum tls13_message_type mt = handshakes[i][0]; if (mt == INVALID) -- cgit v1.2.3-55-g6feb