summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2019-02-13 17:04:17 +0000
committertb <>2019-02-13 17:04:17 +0000
commitf59a6b307b949a6f6dd255652788878092223956 (patch)
tree2a4f82666ef67b1dfbb041079dd7956a453bef5e
parent3b55da13acf5d479d81ef6df8922f2d3edc93bb0 (diff)
downloadopenbsd-f59a6b307b949a6f6dd255652788878092223956.tar.gz
openbsd-f59a6b307b949a6f6dd255652788878092223956.tar.bz2
openbsd-f59a6b307b949a6f6dd255652788878092223956.zip
one more error message that should go to stderr
-rw-r--r--src/regress/lib/libssl/handshake/handshake_table.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/handshake/handshake_table.c b/src/regress/lib/libssl/handshake/handshake_table.c
index 991c1c1fd0..dc8e8575ee 100644
--- a/src/regress/lib/libssl/handshake/handshake_table.c
+++ b/src/regress/lib/libssl/handshake/handshake_table.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: handshake_table.c,v 1.9 2019/01/27 03:59:23 tb Exp $ */ 1/* $OpenBSD: handshake_table.c,v 1.10 2019/02/13 17:04:17 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2019 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2019 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -438,7 +438,8 @@ verify_table(enum tls13_message_type table[UINT8_MAX][TLS13_NUM_MESSAGE_TYPES],
438 438
439 num_valid = count_handshakes(); 439 num_valid = count_handshakes();
440 if (num_valid != num_found) { 440 if (num_valid != num_found) {
441 printf("incorrect number of handshakes: want %zu, got %zu.\n", 441 fprintf(stderr,
442 "incorrect number of handshakes: want %zu, got %zu.\n",
442 num_valid, num_found); 443 num_valid, num_found);
443 success = 0; 444 success = 0;
444 } 445 }