diff options
Diffstat (limited to 'src/regress')
-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 afbcc941c2..b158c142aa 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.158 2023/11/07 21:20:48 tb Exp $ */ | 1 | /* $OpenBSD: wycheproof.go,v 1.159 2023/11/07 21:22:34 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018,2023 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018,2023 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2018,2019,2022,2023 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018,2019,2022,2023 Theo Buehler <tb@openbsd.org> |
@@ -2204,7 +2204,7 @@ func runRsaesPkcs1Test(rsa *C.RSA, wt *wycheproofTestRsaes) bool { | |||
2204 | 2204 | ||
2205 | if int(ret) != msgLen { | 2205 | if int(ret) != msgLen { |
2206 | success = false | 2206 | success = false |
2207 | fmt.Printf("FAIL: %s - got %d, want %d\n", wt, ret, len(msg)) | 2207 | fmt.Printf("FAIL: %s - got %d, want %d.\n", wt, ret, msgLen) |
2208 | } else if !bytes.Equal(msg[:msgLen], decrypted[:msgLen]) { | 2208 | } else if !bytes.Equal(msg[:msgLen], decrypted[:msgLen]) { |
2209 | success = false | 2209 | success = false |
2210 | fmt.Printf("FAIL: %s - expected and calculated message differ.\n", wt) | 2210 | fmt.Printf("FAIL: %s - expected and calculated message differ.\n", wt) |