artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29a830a
)
Drop a useless cast in pkey_dsa_ctrl()
author
tb
<tb@openbsd.org>
Sat, 19 Oct 2024 14:39:44 +0000
(14:39 +0000)
committer
tb
<tb@openbsd.org>
Sat, 19 Oct 2024 14:39:44 +0000
(14:39 +0000)
ok joshua jsing
lib/libcrypto/dsa/dsa_pmeth.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/dsa/dsa_pmeth.c
b/lib/libcrypto/dsa/dsa_pmeth.c
index
019bee6
..
adc7319
100644
(file)
--- a/
lib/libcrypto/dsa/dsa_pmeth.c
+++ b/
lib/libcrypto/dsa/dsa_pmeth.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dsa_pmeth.c,v 1.2
0 2024/08/26 22:00:47 op
Exp $ */
+/* $OpenBSD: dsa_pmeth.c,v 1.2
1 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: