diff options
| author | tb <> | 2025-12-27 03:23:57 +0000 |
|---|---|---|
| committer | tb <> | 2025-12-27 03:23:57 +0000 |
| commit | e4daa104ddc5ba756177925ea098a7b637d75115 (patch) | |
| tree | f26407baaf7bfb0777068906726b910adf05b677 /src | |
| parent | 9563dc1228dfa66117bf6d98cf3613059b3846c6 (diff) | |
| download | openbsd-e4daa104ddc5ba756177925ea098a7b637d75115.tar.gz openbsd-e4daa104ddc5ba756177925ea098a7b637d75115.tar.bz2 openbsd-e4daa104ddc5ba756177925ea098a7b637d75115.zip | |
preprended -> prepended
Diffstat (limited to 'src')
| -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 67957bd6b2..907f58d5f8 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.194 2025/12/20 16:18:03 tb Exp $ */ | 1 | /* $OpenBSD: wycheproof.go,v 1.195 2025/12/27 03:23:57 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-2025 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018,2019,2022-2025 Theo Buehler <tb@openbsd.org> |
| @@ -1755,7 +1755,7 @@ func runECDHTest(nid int, variant testVariant, wt *wycheproofTestECDH) bool { | |||
| 1755 | 1755 | ||
| 1756 | shared, sharedLen := mustDecodeHexString(wt.Shared, "shared secret") | 1756 | shared, sharedLen := mustDecodeHexString(wt.Shared, "shared secret") |
| 1757 | 1757 | ||
| 1758 | // XXX The shared fields of the secp224k1 test cases have a 0 byte preprended. | 1758 | // XXX The shared fields of the secp224k1 test cases have a 0 byte prepended. |
| 1759 | if sharedLen == int(secLen)+1 && shared[0] == 0 { | 1759 | if sharedLen == int(secLen)+1 && shared[0] == 0 { |
| 1760 | fmt.Printf("INFO: %s - prepending 0 byte.\n", wt) | 1760 | fmt.Printf("INFO: %s - prepending 0 byte.\n", wt) |
| 1761 | // shared = shared[1:]; | 1761 | // shared = shared[1:]; |
