From a5aac4c5c2beb790313ed29c491b886895baaece Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 19 Oct 2024 14:39:44 +0000 Subject: [PATCH] Drop a useless cast in pkey_dsa_ctrl() ok joshua jsing --- lib/libcrypto/dsa/dsa_pmeth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/dsa/dsa_pmeth.c b/lib/libcrypto/dsa/dsa_pmeth.c index 019bee68b29..adc73197313 100644 --- a/lib/libcrypto/dsa/dsa_pmeth.c +++ b/lib/libcrypto/dsa/dsa_pmeth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsa_pmeth.c,v 1.20 2024/08/26 22:00:47 op Exp $ */ +/* $OpenBSD: dsa_pmeth.c,v 1.21 2024/10/19 14:39:44 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ @@ -205,7 +205,7 @@ pkey_dsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) case EVP_PKEY_CTRL_MD: /* ANSI X9.57 and NIST CSOR. */ - switch (EVP_MD_type((const EVP_MD *)p2)) { + switch (EVP_MD_type(p2)) { case NID_sha1: case NID_dsa: case NID_dsaWithSHA: -- 2.20.1