summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-04-15 15:47:38 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-04-15 15:47:38 +0000
commit3b9c76ef0bfa2d6ed3e2da376697e789a14e3c71 (patch)
tree2602bd586755d9f517431a498d99281bad0e12c8
parent2b6c31b63f11e4a9adbbc136b7f6139139d5013e (diff)
DHparam_it becomes static, too
ok jsing
-rw-r--r--lib/libcrypto/Symbols.list1
-rw-r--r--lib/libcrypto/dh/dh_asn1.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/libcrypto/Symbols.list b/lib/libcrypto/Symbols.list
index 32100a8c4db..0a9bf7919b6 100644
--- a/lib/libcrypto/Symbols.list
+++ b/lib/libcrypto/Symbols.list
@@ -800,7 +800,6 @@ DH_size
DH_test_flags
DH_up_ref
DHparams_dup
-DHparams_it
DHparams_print
DHparams_print_fp
DIRECTORYSTRING_free
diff --git a/lib/libcrypto/dh/dh_asn1.c b/lib/libcrypto/dh/dh_asn1.c
index 2e0b054d345..6731669c837 100644
--- a/lib/libcrypto/dh/dh_asn1.c
+++ b/lib/libcrypto/dh/dh_asn1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dh_asn1.c,v 1.12 2023/07/08 15:29:03 beck Exp $ */
+/* $OpenBSD: dh_asn1.c,v 1.13 2024/04/15 15:47:37 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -114,7 +114,7 @@ static const ASN1_TEMPLATE DHparams_seq_tt[] = {
},
};
-const ASN1_ITEM DHparams_it = {
+static const ASN1_ITEM DHparams_it = {
.itype = ASN1_ITYPE_SEQUENCE,
.utype = V_ASN1_SEQUENCE,
.templates = DHparams_seq_tt,