summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-10-03 05:07:49 +0000
committertb <>2024-10-03 05:07:49 +0000
commit46c178f52b6e10bbcf914fc7366a854e953d2fba (patch)
treec6576cd9e9455b121bd86c2fbc04ee2cfef02af8 /src
parent6dee21e5fac0da0ec31b1c3b8492314ec0e3c96d (diff)
downloadopenbsd-46c178f52b6e10bbcf914fc7366a854e953d2fba.tar.gz
openbsd-46c178f52b6e10bbcf914fc7366a854e953d2fba.tar.bz2
openbsd-46c178f52b6e10bbcf914fc7366a854e953d2fba.zip
Make EC{,PK}PARAMETERS_it static
They aren't used outside of this file.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/ec/ec_asn1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_asn1.c b/src/lib/libcrypto/ec/ec_asn1.c
index eddc3769e9..825f4f3892 100644
--- a/src/lib/libcrypto/ec/ec_asn1.c
+++ b/src/lib/libcrypto/ec/ec_asn1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_asn1.c,v 1.56 2024/10/03 04:20:28 tb Exp $ */ 1/* $OpenBSD: ec_asn1.c,v 1.57 2024/10/03 05:07:49 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project. 3 * Written by Nils Larsch for the OpenSSL project.
4 */ 4 */
@@ -405,7 +405,7 @@ static const ASN1_TEMPLATE ECPARAMETERS_seq_tt[] = {
405 }, 405 },
406}; 406};
407 407
408const ASN1_ITEM ECPARAMETERS_it = { 408static const ASN1_ITEM ECPARAMETERS_it = {
409 .itype = ASN1_ITYPE_SEQUENCE, 409 .itype = ASN1_ITYPE_SEQUENCE,
410 .utype = V_ASN1_SEQUENCE, 410 .utype = V_ASN1_SEQUENCE,
411 .templates = ECPARAMETERS_seq_tt, 411 .templates = ECPARAMETERS_seq_tt,
@@ -451,7 +451,7 @@ static const ASN1_TEMPLATE ECPKPARAMETERS_ch_tt[] = {
451 }, 451 },
452}; 452};
453 453
454const ASN1_ITEM ECPKPARAMETERS_it = { 454static const ASN1_ITEM ECPKPARAMETERS_it = {
455 .itype = ASN1_ITYPE_CHOICE, 455 .itype = ASN1_ITYPE_CHOICE,
456 .utype = offsetof(ECPKPARAMETERS, type), 456 .utype = offsetof(ECPKPARAMETERS, type),
457 .templates = ECPKPARAMETERS_ch_tt, 457 .templates = ECPKPARAMETERS_ch_tt,