summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2018-08-26 17:34:40 +0000
committertb <>2018-08-26 17:34:40 +0000
commit62167690a0584e5f7bb11061c8d8e85864de05db (patch)
tree2db6fb4e7da432aea297a4e3c139fc860da70cb0 /src
parentab846e1aea344bd1b286610a43b34ce7e6e1b694 (diff)
downloadopenbsd-62167690a0584e5f7bb11061c8d8e85864de05db.tar.gz
openbsd-62167690a0584e5f7bb11061c8d8e85864de05db.tar.bz2
openbsd-62167690a0584e5f7bb11061c8d8e85864de05db.zip
simplify returned value
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/wycheproof/wycheproof.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
index ae9108407b..eb87319aa9 100644
--- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go
+++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
@@ -1,4 +1,4 @@
1/* $OpenBSD: wycheproof.go,v 1.20 2018/08/25 10:07:16 tb Exp $ */ 1/* $OpenBSD: wycheproof.go,v 1.21 2018/08/26 17:34:40 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2018 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2018 Theo Buehler <tb@openbsd.org>
@@ -239,7 +239,7 @@ func checkChaCha20Poly1305Open(ctx *C.EVP_AEAD_CTX, iv []byte, ivLen int, aad []
239 return true 239 return true
240 } 240 }
241 fmt.Printf("FAIL: Test case %d (%q) - EVP_AEAD_CTX_open() = %d, want %v\n", wt.TCID, wt.Comment, int(openRet), wt.Result) 241 fmt.Printf("FAIL: Test case %d (%q) - EVP_AEAD_CTX_open() = %d, want %v\n", wt.TCID, wt.Comment, int(openRet), wt.Result)
242 return wt.Result == "invalid" 242 return false
243 } 243 }
244 244
245 if (openedMsgLen != C.size_t(msgLen)) { 245 if (openedMsgLen != C.size_t(msgLen)) {