diff options
author | tb <> | 2018-09-15 16:05:17 +0000 |
---|---|---|
committer | tb <> | 2018-09-15 16:05:17 +0000 |
commit | 4cf9dc634b2bc3b7200e64b028a1bce921a12b82 (patch) | |
tree | efafd37212991526406aa723c01663a063893bb1 | |
parent | 6866a4acd4ed648a146fbedc7e6ec4137681a819 (diff) | |
download | openbsd-4cf9dc634b2bc3b7200e64b028a1bce921a12b82.tar.gz openbsd-4cf9dc634b2bc3b7200e64b028a1bce921a12b82.tar.bz2 openbsd-4cf9dc634b2bc3b7200e64b028a1bce921a12b82.zip |
Add missing conversion specifier
Diffstat (limited to '')
-rw-r--r-- | src/regress/lib/libcrypto/wycheproof/wycheproof.go | 4 |
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 28bbf2b4cd..55c10c6634 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.46 2018/09/02 20:29:01 tb Exp $ */ | 1 | /* $OpenBSD: wycheproof.go,v 1.47 2018/09/15 16:05:17 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> |
@@ -590,7 +590,7 @@ func checkAesCcmOrGcm(algorithm string, ctx *C.EVP_CIPHER_CTX, doEncrypt int, ke | |||
590 | } | 590 | } |
591 | // XXX audit acceptable cases... | 591 | // XXX audit acceptable cases... |
592 | if bytes.Equal(tagOut, tag) != (wt.Result == "valid" || wt.Result == "acceptable") { | 592 | if bytes.Equal(tagOut, tag) != (wt.Result == "valid" || wt.Result == "acceptable") { |
593 | fmt.Printf("FAIL: Test case %d (%q) [%v] - expected and computed tag do not match. Result: %v\n", wt.TCID, wt.Comment, action, ret, wt.Result) | 593 | fmt.Printf("FAIL: Test case %d (%q) [%v] - expected and computed tag do not match - ret: %d, Result: %v\n", wt.TCID, wt.Comment, action, ret, wt.Result) |
594 | success = false | 594 | success = false |
595 | } | 595 | } |
596 | } | 596 | } |