summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dsa
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-05-09 20:57:50 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-05-09 20:57:50 +0000
commite35646bfca175f96ea3b6cfbd1cddd81b31f709c (patch)
treebe1c7d092009db5e9d5036407282b25e7d196071 /lib/libcrypto/dsa
parent26c7e50f7ee9bef815c0e8ec23c518c6685a4e70 (diff)
Make the openssl_dsa_meth static const
Diffstat (limited to 'lib/libcrypto/dsa')
-rw-r--r--lib/libcrypto/dsa/dsa_ossl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/dsa/dsa_ossl.c b/lib/libcrypto/dsa/dsa_ossl.c
index 3dad205a272..943d038796b 100644
--- a/lib/libcrypto/dsa/dsa_ossl.c
+++ b/lib/libcrypto/dsa/dsa_ossl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_ossl.c,v 1.54 2024/05/09 20:56:52 tb Exp $ */
+/* $OpenBSD: dsa_ossl.c,v 1.55 2024/05/09 20:57:49 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -412,7 +412,7 @@ dsa_finish(DSA *dsa)
return 1;
}
-static DSA_METHOD openssl_dsa_meth = {
+static const DSA_METHOD openssl_dsa_meth = {
.name = "OpenSSL DSA method",
.dsa_do_sign = dsa_do_sign,
.dsa_sign_setup = dsa_sign_setup,