From: tb Date: Thu, 3 Oct 2024 05:07:49 +0000 (+0000) Subject: Make EC{,PK}PARAMETERS_it static X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f18b9eeb711e53054afdc8e65eaec46a44dbb9d6;p=openbsd Make EC{,PK}PARAMETERS_it static They aren't used outside of this file. --- 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,