From 142901ac80f1f7b5f963cd31a8c49c551ea6c3e8 Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 6 Apr 2023 08:41:53 +0000 Subject: wycheproof: fix copy-paste error in previous --- src/regress/lib/libcrypto/wycheproof/wycheproof.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go index 0698ac90b7..0f66212fb9 100644 --- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/src/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 * Copyright (c) 2018,2019,2022 Theo Buehler @@ -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) -- cgit v1.2.3-55-g6feb