From f18b9eeb711e53054afdc8e65eaec46a44dbb9d6 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 3 Oct 2024 05:07:49 +0000 Subject: [PATCH] Make EC{,PK}PARAMETERS_it static They aren't used outside of this file. --- lib/libcrypto/ec/ec_asn1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libcrypto/ec/ec_asn1.c b/lib/libcrypto/ec/ec_asn1.c index eddc3769e9b..825f4f38928 100644 --- a/lib/libcrypto/ec/ec_asn1.c +++ b/lib/libcrypto/ec/ec_asn1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_asn1.c,v 1.56 2024/10/03 04:20:28 tb Exp $ */ +/* $OpenBSD: ec_asn1.c,v 1.57 2024/10/03 05:07:49 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -405,7 +405,7 @@ static const ASN1_TEMPLATE ECPARAMETERS_seq_tt[] = { }, }; -const ASN1_ITEM ECPARAMETERS_it = { +static const ASN1_ITEM ECPARAMETERS_it = { .itype = ASN1_ITYPE_SEQUENCE, .utype = V_ASN1_SEQUENCE, .templates = ECPARAMETERS_seq_tt, @@ -451,7 +451,7 @@ static const ASN1_TEMPLATE ECPKPARAMETERS_ch_tt[] = { }, }; -const ASN1_ITEM ECPKPARAMETERS_it = { +static const ASN1_ITEM ECPKPARAMETERS_it = { .itype = ASN1_ITYPE_CHOICE, .utype = offsetof(ECPKPARAMETERS, type), .templates = ECPKPARAMETERS_ch_tt, -- 2.20.1