From 961b7a8d5ca7feebc75dab5bc4432abe074000d3 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 26 Aug 2018 17:34:40 +0000 Subject: [PATCH] simplify returned value --- regress/lib/libcrypto/wycheproof/wycheproof.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/lib/libcrypto/wycheproof/wycheproof.go b/regress/lib/libcrypto/wycheproof/wycheproof.go index ae9108407b6..eb87319aa95 100644 --- a/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -1,4 +1,4 @@ -/* $OpenBSD: wycheproof.go,v 1.20 2018/08/25 10:07:16 tb Exp $ */ +/* $OpenBSD: wycheproof.go,v 1.21 2018/08/26 17:34:40 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing * Copyright (c) 2018 Theo Buehler @@ -239,7 +239,7 @@ func checkChaCha20Poly1305Open(ctx *C.EVP_AEAD_CTX, iv []byte, ivLen int, aad [] return true } fmt.Printf("FAIL: Test case %d (%q) - EVP_AEAD_CTX_open() = %d, want %v\n", wt.TCID, wt.Comment, int(openRet), wt.Result) - return wt.Result == "invalid" + return false } if (openedMsgLen != C.size_t(msgLen)) { -- 2.20.1