DHparam_it becomes static, too
authortb <tb@openbsd.org>
Mon, 15 Apr 2024 15:47:37 +0000 (15:47 +0000)
committertb <tb@openbsd.org>
Mon, 15 Apr 2024 15:47:37 +0000 (15:47 +0000)
ok jsing

lib/libcrypto/Symbols.list
lib/libcrypto/dh/dh_asn1.c

index 32100a8..0a9bf79 100644 (file)
@@ -800,7 +800,6 @@ DH_size
 DH_test_flags
 DH_up_ref
 DHparams_dup
-DHparams_it
 DHparams_print
 DHparams_print_fp
 DIRECTORYSTRING_free
index 2e0b054..6731669 100644 (file)
@@ -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,