summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1
diff options
context:
space:
mode:
authortb <>2024-03-02 09:02:04 +0000
committertb <>2024-03-02 09:02:04 +0000
commita73fc18db0f7a430051a0c4c25c3154278ae50a0 (patch)
tree6f9ab12d823fbc202f3891db15ef302e73bf7fb9 /src/lib/libcrypto/asn1
parentc65895af2c2fed4774618ef4358bbb36943f0dde (diff)
downloadopenbsd-a73fc18db0f7a430051a0c4c25c3154278ae50a0.tar.gz
openbsd-a73fc18db0f7a430051a0c4c25c3154278ae50a0.tar.bz2
openbsd-a73fc18db0f7a430051a0c4c25c3154278ae50a0.zip
Make ASN1_add_oid_module internal
ok jsing
Diffstat (limited to 'src/lib/libcrypto/asn1')
-rw-r--r--src/lib/libcrypto/asn1/asn1.h4
-rw-r--r--src/lib/libcrypto/asn1/asn_moid.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h
index 15b0e3995a..c44f85113b 100644
--- a/src/lib/libcrypto/asn1/asn1.h
+++ b/src/lib/libcrypto/asn1/asn1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1.h,v 1.88 2024/03/02 09:00:07 tb Exp $ */ 1/* $OpenBSD: asn1.h,v 1.89 2024/03/02 09:02:04 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 *
@@ -840,8 +840,6 @@ ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in,
840 long len, const ASN1_ITEM *it); 840 long len, const ASN1_ITEM *it);
841int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); 841int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
842 842
843void ASN1_add_oid_module(void);
844
845ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf); 843ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf);
846ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf); 844ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf);
847 845
diff --git a/src/lib/libcrypto/asn1/asn_moid.c b/src/lib/libcrypto/asn1/asn_moid.c
index 4da35c0e06..6874980463 100644
--- a/src/lib/libcrypto/asn1/asn_moid.c
+++ b/src/lib/libcrypto/asn1/asn_moid.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn_moid.c,v 1.16 2023/07/05 21:23:36 beck Exp $ */ 1/* $OpenBSD: asn_moid.c,v 1.17 2024/03/02 09:02:04 tb Exp $ */
2/* Written by Stephen Henson (steve@openssl.org) for the OpenSSL 2/* Written by Stephen Henson (steve@openssl.org) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -105,7 +105,6 @@ ASN1_add_oid_module(void)
105{ 105{
106 CONF_module_add("oid_section", oid_module_init, oid_module_finish); 106 CONF_module_add("oid_section", oid_module_init, oid_module_finish);
107} 107}
108LCRYPTO_ALIAS(ASN1_add_oid_module);
109 108
110/* Create an OID based on a name value pair. Accept two formats. 109/* Create an OID based on a name value pair. Accept two formats.
111 * shortname = 1.2.3.4 110 * shortname = 1.2.3.4