summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/x_bignum.c
diff options
context:
space:
mode:
authorbeck <>2024-07-08 16:24:22 +0000
committerbeck <>2024-07-08 16:24:22 +0000
commitb6aa0df06e66342ca51ad74557ea2fe3ba5fc2ec (patch)
treeeab340e43f1cb73482e9362c8bdf2bba9de8e1d5 /src/lib/libcrypto/asn1/x_bignum.c
parent4c8d22f29be015c6c02c809813e9a931e88c2575 (diff)
downloadopenbsd-b6aa0df06e66342ca51ad74557ea2fe3ba5fc2ec.tar.gz
openbsd-b6aa0df06e66342ca51ad74557ea2fe3ba5fc2ec.tar.bz2
openbsd-b6aa0df06e66342ca51ad74557ea2fe3ba5fc2ec.zip
Hide global _it symbols in asn1t.h
ok tb@
Diffstat (limited to 'src/lib/libcrypto/asn1/x_bignum.c')
-rw-r--r--src/lib/libcrypto/asn1/x_bignum.c4
1 files changed, 3 insertions, 1 deletions
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};
102LCRYPTO_ALIAS(BIGNUM_it);
102 103
103const ASN1_ITEM CBIGNUM_it = { 104const 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};
113LCRYPTO_ALIAS(CBIGNUM_it);
112 114
113static int 115static int
114bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 116bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it)