summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2026-01-05 05:23:56 +0000
committertb <>2026-01-05 05:23:56 +0000
commit8b1bee23ae71f5487fb90c67a0167e18ffb75aac (patch)
tree12f94ab9a11b16b7e3499b46d7179576c84f5f90
parent8c8759a9c13a1eb560c9a85a202bd95a1655defa (diff)
downloadopenbsd-8b1bee23ae71f5487fb90c67a0167e18ffb75aac.tar.gz
openbsd-8b1bee23ae71f5487fb90c67a0167e18ffb75aac.tar.bz2
openbsd-8b1bee23ae71f5487fb90c67a0167e18ffb75aac.zip
ASN.1 templates: make internal *_PUBKEY_it static
-rw-r--r--src/lib/libcrypto/asn1/x_pubkey.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/asn1/x_pubkey.c b/src/lib/libcrypto/asn1/x_pubkey.c
index 11ba88c133..895b4da4d0 100644
--- a/src/lib/libcrypto/asn1/x_pubkey.c
+++ b/src/lib/libcrypto/asn1/x_pubkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x_pubkey.c,v 1.39 2026/01/05 05:22:09 tb Exp $ */ 1/* $OpenBSD: x_pubkey.c,v 1.40 2026/01/05 05:23:56 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -395,7 +395,7 @@ static const ASN1_EXTERN_FUNCS pkey_pubkey_asn1_ff = {
395 .asn1_ex_print = NULL, 395 .asn1_ex_print = NULL,
396}; 396};
397 397
398const ASN1_ITEM EVP_PKEY_PUBKEY_it = { 398static const ASN1_ITEM EVP_PKEY_PUBKEY_it = {
399 .itype = ASN1_ITYPE_EXTERN, 399 .itype = ASN1_ITYPE_EXTERN,
400 .utype = 0, 400 .utype = 0,
401 .templates = NULL, 401 .templates = NULL,
@@ -495,7 +495,7 @@ static const ASN1_EXTERN_FUNCS rsa_pubkey_asn1_ff = {
495 .asn1_ex_print = NULL, 495 .asn1_ex_print = NULL,
496}; 496};
497 497
498const ASN1_ITEM RSA_PUBKEY_it = { 498static const ASN1_ITEM RSA_PUBKEY_it = {
499 .itype = ASN1_ITYPE_EXTERN, 499 .itype = ASN1_ITYPE_EXTERN,
500 .utype = 0, 500 .utype = 0,
501 .templates = NULL, 501 .templates = NULL,
@@ -591,7 +591,7 @@ static const ASN1_EXTERN_FUNCS dsa_pubkey_asn1_ff = {
591 .asn1_ex_print = NULL, 591 .asn1_ex_print = NULL,
592}; 592};
593 593
594const ASN1_ITEM DSA_PUBKEY_it = { 594static const ASN1_ITEM DSA_PUBKEY_it = {
595 .itype = ASN1_ITYPE_EXTERN, 595 .itype = ASN1_ITYPE_EXTERN,
596 .utype = 0, 596 .utype = 0,
597 .templates = NULL, 597 .templates = NULL,
@@ -688,7 +688,7 @@ static const ASN1_EXTERN_FUNCS ec_pubkey_asn1_ff = {
688 .asn1_ex_print = NULL, 688 .asn1_ex_print = NULL,
689}; 689};
690 690
691const ASN1_ITEM EC_PUBKEY_it = { 691static const ASN1_ITEM EC_PUBKEY_it = {
692 .itype = ASN1_ITYPE_EXTERN, 692 .itype = ASN1_ITYPE_EXTERN,
693 .utype = 0, 693 .utype = 0,
694 .templates = NULL, 694 .templates = NULL,