From d51a09252c327962563b67761a39b9d5abd68147 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 6 Apr 2023 08:41:53 +0000 Subject: [PATCH] wycheproof: fix copy-paste error in previous --- regress/lib/libcrypto/wycheproof/wycheproof.go | 4 ++-- 1 file 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 * 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) -- 2.20.1