diff options
author | beck <> | 2024-07-08 16:24:22 +0000 |
---|---|---|
committer | beck <> | 2024-07-08 16:24:22 +0000 |
commit | 1a028405d9273f34c544f9f13321c6313cc407bd (patch) | |
tree | eab340e43f1cb73482e9362c8bdf2bba9de8e1d5 /src/lib/libcrypto/asn1 | |
parent | 4b24fdbbea79c7bdfd9dbbdf4bf6884bdd5158d1 (diff) | |
download | openbsd-1a028405d9273f34c544f9f13321c6313cc407bd.tar.gz openbsd-1a028405d9273f34c544f9f13321c6313cc407bd.tar.bz2 openbsd-1a028405d9273f34c544f9f13321c6313cc407bd.zip |
Hide global _it symbols in asn1t.h
ok tb@
Diffstat (limited to 'src/lib/libcrypto/asn1')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1t.h | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/asn1/tasn_typ.c | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/asn1/x_bignum.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/asn1/x_long.c | 4 |
4 files changed, 9 insertions, 7 deletions
diff --git a/src/lib/libcrypto/asn1/asn1t.h b/src/lib/libcrypto/asn1/asn1t.h index 4d79f82ec7..22cde48669 100644 --- a/src/lib/libcrypto/asn1/asn1t.h +++ b/src/lib/libcrypto/asn1/asn1t.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1t.h,v 1.23 2023/07/28 10:00:10 tb Exp $ */ | 1 | /* $OpenBSD: asn1t.h,v 1.24 2024/07/08 16:24:22 beck Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -885,10 +885,7 @@ extern const ASN1_ITEM ASN1_SEQUENCE_it; | |||
885 | extern const ASN1_ITEM BIGNUM_it; | 885 | extern const ASN1_ITEM BIGNUM_it; |
886 | extern const ASN1_ITEM LONG_it; | 886 | extern const ASN1_ITEM LONG_it; |
887 | extern const ASN1_ITEM ZLONG_it; | 887 | extern const ASN1_ITEM ZLONG_it; |
888 | |||
889 | #ifndef LIBRESSL_INTERNAL | ||
890 | extern const ASN1_ITEM CBIGNUM_it; | 888 | extern const ASN1_ITEM CBIGNUM_it; |
891 | #endif | ||
892 | 889 | ||
893 | DECLARE_STACK_OF(ASN1_VALUE) | 890 | DECLARE_STACK_OF(ASN1_VALUE) |
894 | 891 | ||
diff --git a/src/lib/libcrypto/asn1/tasn_typ.c b/src/lib/libcrypto/asn1/tasn_typ.c index 488d8ff44d..0f7fcb0e03 100644 --- a/src/lib/libcrypto/asn1/tasn_typ.c +++ b/src/lib/libcrypto/asn1/tasn_typ.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_typ.c,v 1.19 2024/07/08 14:52:31 beck Exp $ */ | 1 | /* $OpenBSD: tasn_typ.c,v 1.20 2024/07/08 16:24:22 beck Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -487,6 +487,7 @@ const ASN1_ITEM ASN1_SEQUENCE_it = { | |||
487 | .utype = V_ASN1_SEQUENCE, | 487 | .utype = V_ASN1_SEQUENCE, |
488 | .sname = "ASN1_SEQUENCE", | 488 | .sname = "ASN1_SEQUENCE", |
489 | }; | 489 | }; |
490 | LCRYPTO_ALIAS(ASN1_SEQUENCE_it); | ||
490 | 491 | ||
491 | 492 | ||
492 | /* Multistring types */ | 493 | /* Multistring types */ |
diff --git a/src/lib/libcrypto/asn1/x_bignum.c b/src/lib/libcrypto/asn1/x_bignum.c index 35b30da5b6..3e265b9cbc 100644 --- a/src/lib/libcrypto/asn1/x_bignum.c +++ b/src/lib/libcrypto/asn1/x_bignum.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_bignum.c,v 1.14 2024/05/17 02:47:21 tb Exp $ */ | 1 | /* $OpenBSD: x_bignum.c,v 1.15 2024/07/08 16:24:22 beck Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -99,6 +99,7 @@ const ASN1_ITEM BIGNUM_it = { | |||
99 | .size = 0, | 99 | .size = 0, |
100 | .sname = "BIGNUM", | 100 | .sname = "BIGNUM", |
101 | }; | 101 | }; |
102 | LCRYPTO_ALIAS(BIGNUM_it); | ||
102 | 103 | ||
103 | const ASN1_ITEM CBIGNUM_it = { | 104 | const ASN1_ITEM CBIGNUM_it = { |
104 | .itype = ASN1_ITYPE_PRIMITIVE, | 105 | .itype = ASN1_ITYPE_PRIMITIVE, |
@@ -109,6 +110,7 @@ const ASN1_ITEM CBIGNUM_it = { | |||
109 | .size = 0, | 110 | .size = 0, |
110 | .sname = "BIGNUM", | 111 | .sname = "BIGNUM", |
111 | }; | 112 | }; |
113 | LCRYPTO_ALIAS(CBIGNUM_it); | ||
112 | 114 | ||
113 | static int | 115 | static int |
114 | bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) | 116 | bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) |
diff --git a/src/lib/libcrypto/asn1/x_long.c b/src/lib/libcrypto/asn1/x_long.c index 01a0811e7e..5e673f4521 100644 --- a/src/lib/libcrypto/asn1/x_long.c +++ b/src/lib/libcrypto/asn1/x_long.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_long.c,v 1.20 2024/05/17 02:49:21 tb Exp $ */ | 1 | /* $OpenBSD: x_long.c,v 1.21 2024/07/08 16:24:22 beck Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -101,6 +101,7 @@ const ASN1_ITEM LONG_it = { | |||
101 | .size = ASN1_LONG_UNDEF, | 101 | .size = ASN1_LONG_UNDEF, |
102 | .sname = "LONG", | 102 | .sname = "LONG", |
103 | }; | 103 | }; |
104 | LCRYPTO_ALIAS(LONG_it); | ||
104 | 105 | ||
105 | const ASN1_ITEM ZLONG_it = { | 106 | const ASN1_ITEM ZLONG_it = { |
106 | .itype = ASN1_ITYPE_PRIMITIVE, | 107 | .itype = ASN1_ITYPE_PRIMITIVE, |
@@ -111,6 +112,7 @@ const ASN1_ITEM ZLONG_it = { | |||
111 | .size = 0, | 112 | .size = 0, |
112 | .sname = "ZLONG", | 113 | .sname = "ZLONG", |
113 | }; | 114 | }; |
115 | LCRYPTO_ALIAS(ZLONG_it); | ||
114 | 116 | ||
115 | static void | 117 | static void |
116 | long_get(ASN1_VALUE **pval, long *out_val) | 118 | long_get(ASN1_VALUE **pval, long *out_val) |