diff options
author | tb <> | 2024-03-02 08:54:02 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 08:54:02 +0000 |
commit | ef375d49d18f0a2c367fd9ead5404a1512119ccf (patch) | |
tree | 8dc54b4b46859164b7264dce8651bdbda45d25e1 /src/lib/libcrypto/asn1/a_strnid.c | |
parent | 187866d904cc76d1ca848a3208703b9e43c07ccf (diff) | |
download | openbsd-ef375d49d18f0a2c367fd9ead5404a1512119ccf.tar.gz openbsd-ef375d49d18f0a2c367fd9ead5404a1512119ccf.tar.bz2 openbsd-ef375d49d18f0a2c367fd9ead5404a1512119ccf.zip |
Remove ASN1_STRING_TABLE_{add,cleanup}
This was API for the ASN1_STRING_TABLE extensibility which has been
neutered for months and was completely unused in the ecosystem.
ok jsing
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/asn1/a_strnid.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libcrypto/asn1/a_strnid.c b/src/lib/libcrypto/asn1/a_strnid.c index 6c0c0f095f..5fa60b9ce7 100644 --- a/src/lib/libcrypto/asn1/a_strnid.c +++ b/src/lib/libcrypto/asn1/a_strnid.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_strnid.c,v 1.30 2024/03/02 08:50:47 tb Exp $ */ | 1 | /* $OpenBSD: a_strnid.c,v 1.31 2024/03/02 08:54:02 tb 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 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -327,19 +327,3 @@ ASN1_STRING_TABLE_get(int nid) | |||
327 | return NULL; | 327 | return NULL; |
328 | } | 328 | } |
329 | LCRYPTO_ALIAS(ASN1_STRING_TABLE_get); | 329 | LCRYPTO_ALIAS(ASN1_STRING_TABLE_get); |
330 | |||
331 | int | ||
332 | ASN1_STRING_TABLE_add(int nid, long minsize, long maxsize, unsigned long mask, | ||
333 | unsigned long flags) | ||
334 | { | ||
335 | ASN1error(ERR_R_DISABLED); | ||
336 | return 0; | ||
337 | } | ||
338 | LCRYPTO_ALIAS(ASN1_STRING_TABLE_add); | ||
339 | |||
340 | void | ||
341 | ASN1_STRING_TABLE_cleanup(void) | ||
342 | { | ||
343 | ASN1error(ERR_R_DISABLED); | ||
344 | } | ||
345 | LCRYPTO_ALIAS(ASN1_STRING_TABLE_cleanup); | ||