diff options
author | tb <> | 2024-03-02 09:02:04 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 09:02:04 +0000 |
commit | a73fc18db0f7a430051a0c4c25c3154278ae50a0 (patch) | |
tree | 6f9ab12d823fbc202f3891db15ef302e73bf7fb9 /src/lib/libcrypto/asn1 | |
parent | c65895af2c2fed4774618ef4358bbb36943f0dde (diff) | |
download | openbsd-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.h | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/asn1/asn_moid.c | 3 |
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); |
841 | int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); | 841 | int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); |
842 | 842 | ||
843 | void ASN1_add_oid_module(void); | ||
844 | |||
845 | ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf); | 843 | ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf); |
846 | ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf); | 844 | ASN1_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 | } |
108 | LCRYPTO_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 |