summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ec
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-10-03 05:07:50 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-10-03 05:07:50 +0000
commitd178985df4d0f34af7109b117149f285c0b03de8 (patch)
treecc9601148877214d1f99778a60559bd8c15c2fae /lib/libcrypto/ec
parenta4b7445a446589303362834ed7cc35169860540d (diff)
Make EC{,PK}PARAMETERS_it static
They aren't used outside of this file.
Diffstat (limited to 'lib/libcrypto/ec')
-rw-r--r--lib/libcrypto/ec/ec_asn1.c6
1 files 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,