summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2019-02-13 17:04:17 +0000
committertb <tb@openbsd.org>2019-02-13 17:04:17 +0000
commit9a54de93546c4704261e5531082e48fff2e8073b (patch)
treed21bda81aaa8f70a293f525c0fb1bc29a95018e2
parentClean up some pesky trailing whitespace. (diff)
downloadwireguard-openbsd-9a54de93546c4704261e5531082e48fff2e8073b.tar.xz
wireguard-openbsd-9a54de93546c4704261e5531082e48fff2e8073b.zip
one more error message that should go to stderr
-rw-r--r--regress/lib/libssl/handshake/handshake_table.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/lib/libssl/handshake/handshake_table.c b/regress/lib/libssl/handshake/handshake_table.c
index 991c1c1fd0d..dc8e8575ee1 100644
--- a/regress/lib/libssl/handshake/handshake_table.c
+++ b/regress/lib/libssl/handshake/handshake_table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: handshake_table.c,v 1.9 2019/01/27 03:59:23 tb Exp $ */
+/* $OpenBSD: handshake_table.c,v 1.10 2019/02/13 17:04:17 tb Exp $ */
/*
* Copyright (c) 2019 Theo Buehler <tb@openbsd.org>
*
@@ -438,7 +438,8 @@ verify_table(enum tls13_message_type table[UINT8_MAX][TLS13_NUM_MESSAGE_TYPES],
num_valid = count_handshakes();
if (num_valid != num_found) {
- printf("incorrect number of handshakes: want %zu, got %zu.\n",
+ fprintf(stderr,
+ "incorrect number of handshakes: want %zu, got %zu.\n",
num_valid, num_found);
success = 0;
}