diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-04-06 08:41:54 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-04-06 08:41:54 +0000 |
commit | 7a636e232321aabb50e7dbd94480a75530f111eb (patch) | |
tree | 069ed7698fa870db1616a1e5f03aa413f5e94e1f /regress/lib | |
parent | bb38c75d8b85cdaf9b41975251427bb5b78232f6 (diff) |
wycheproof: fix copy-paste error in previous
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/libcrypto/wycheproof/wycheproof.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/wycheproof/wycheproof.go b/regress/lib/libcrypto/wycheproof/wycheproof.go index 0698ac90b7c..0f66212fb9f 100644 --- a/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -1,4 +1,4 @@ -/* $OpenBSD: wycheproof.go,v 1.142 2023/04/06 08:38:53 tb Exp $ */ +/* $OpenBSD: wycheproof.go,v 1.143 2023/04/06 08:41:53 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> * Copyright (c) 2018,2019,2022 Theo Buehler <tb@openbsd.org> @@ -577,7 +577,7 @@ func hashEvpMdFromString(hs string) (*C.EVP_MD, error) { } } -func hashEvpDigestMessage(md *C.EVP_MD, msg []byte) ([]byte, C.size, error) { +func hashEvpDigestMessage(md *C.EVP_MD, msg []byte) ([]byte, int, error) { size := C.EVP_MD_size(md) if size <= 0 || size > C.EVP_MAX_MD_SIZE { return nil, 0, fmt.Errorf("unexpected MD size %d", size) |