summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2018-08-20 21:18:03 +0000
committertb <tb@openbsd.org>2018-08-20 21:18:03 +0000
commitc91fe18c298931df691b14c139715b3d7e8c7f87 (patch)
treee1d70e65ac9f9f632027ae246fb3369669c0255c
parentTest EVP_AEAD_CTX_open() at the same time as EVP_AEAD_CTX_seal() (diff)
downloadwireguard-openbsd-c91fe18c298931df691b14c139715b3d7e8c7f87.tar.xz
wireguard-openbsd-c91fe18c298931df691b14c139715b3d7e8c7f87.zip
add two missing \n
-rw-r--r--regress/lib/libcrypto/wycheproof/wycheproof.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/wycheproof/wycheproof.go b/regress/lib/libcrypto/wycheproof/wycheproof.go
index 3fa08ba636f..137892f9d3e 100644
--- a/regress/lib/libcrypto/wycheproof/wycheproof.go
+++ b/regress/lib/libcrypto/wycheproof/wycheproof.go
@@ -1,4 +1,4 @@
-/* $OpenBSD: wycheproof.go,v 1.10 2018/08/20 20:46:51 tb Exp $ */
+/* $OpenBSD: wycheproof.go,v 1.11 2018/08/20 21:18:03 tb Exp $ */
/*
* Copyright (c) 2018 Joel Sing <jsing@openbsd.org>
*
@@ -273,11 +273,11 @@ func runChaCha20Poly1305Test(iv_len int, key_len int, tag_len int, wt *wycheproo
}
if (sealedLen != C.size_t(maxOutLen)) {
- fmt.Printf("FAIL: Test case %d (%q) - seal length mismatch: got %d, want %d", wt.TCID, wt.Comment, sealedLen, maxOutLen)
+ fmt.Printf("FAIL: Test case %d (%q) - seal length mismatch: got %d, want %d\n", wt.TCID, wt.Comment, sealedLen, maxOutLen)
return false
}
if (openedLen != C.size_t(msgLen)) {
- fmt.Printf("FAIL: Test case %d (%q) - open length mismatch: got %d, want %d", wt.TCID, wt.Comment, openedLen, msgLen)
+ fmt.Printf("FAIL: Test case %d (%q) - open length mismatch: got %d, want %d\n", wt.TCID, wt.Comment, openedLen, msgLen)
return false
}