diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/Symbols.list | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/Symbols.namespace | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/hidden/openssl/x509v3.h | 6 | ||||
| -rw-r--r-- | src/lib/libcrypto/x509/x509_lib.c | 36 | ||||
| -rw-r--r-- | src/lib/libcrypto/x509/x509v3.h | 6 |
5 files changed, 3 insertions, 53 deletions
diff --git a/src/lib/libcrypto/Symbols.list b/src/lib/libcrypto/Symbols.list index f27d1fbffd..48af5219af 100644 --- a/src/lib/libcrypto/Symbols.list +++ b/src/lib/libcrypto/Symbols.list | |||
| @@ -2493,13 +2493,9 @@ X509V3_EXT_CRL_add_conf | |||
| 2493 | X509V3_EXT_CRL_add_nconf | 2493 | X509V3_EXT_CRL_add_nconf |
| 2494 | X509V3_EXT_REQ_add_conf | 2494 | X509V3_EXT_REQ_add_conf |
| 2495 | X509V3_EXT_REQ_add_nconf | 2495 | X509V3_EXT_REQ_add_nconf |
| 2496 | X509V3_EXT_add | ||
| 2497 | X509V3_EXT_add_alias | ||
| 2498 | X509V3_EXT_add_conf | 2496 | X509V3_EXT_add_conf |
| 2499 | X509V3_EXT_add_list | ||
| 2500 | X509V3_EXT_add_nconf | 2497 | X509V3_EXT_add_nconf |
| 2501 | X509V3_EXT_add_nconf_sk | 2498 | X509V3_EXT_add_nconf_sk |
| 2502 | X509V3_EXT_cleanup | ||
| 2503 | X509V3_EXT_conf | 2499 | X509V3_EXT_conf |
| 2504 | X509V3_EXT_conf_nid | 2500 | X509V3_EXT_conf_nid |
| 2505 | X509V3_EXT_d2i | 2501 | X509V3_EXT_d2i |
diff --git a/src/lib/libcrypto/Symbols.namespace b/src/lib/libcrypto/Symbols.namespace index 6aa4468fae..4a88b26487 100644 --- a/src/lib/libcrypto/Symbols.namespace +++ b/src/lib/libcrypto/Symbols.namespace | |||
| @@ -755,10 +755,6 @@ _libre_i2s_ASN1_INTEGER | |||
| 755 | _libre_s2i_ASN1_INTEGER | 755 | _libre_s2i_ASN1_INTEGER |
| 756 | _libre_i2s_ASN1_ENUMERATED | 756 | _libre_i2s_ASN1_ENUMERATED |
| 757 | _libre_i2s_ASN1_ENUMERATED_TABLE | 757 | _libre_i2s_ASN1_ENUMERATED_TABLE |
| 758 | _libre_X509V3_EXT_add | ||
| 759 | _libre_X509V3_EXT_add_list | ||
| 760 | _libre_X509V3_EXT_add_alias | ||
| 761 | _libre_X509V3_EXT_cleanup | ||
| 762 | _libre_X509V3_EXT_get | 758 | _libre_X509V3_EXT_get |
| 763 | _libre_X509V3_EXT_get_nid | 759 | _libre_X509V3_EXT_get_nid |
| 764 | _libre_X509V3_add_standard_extensions | 760 | _libre_X509V3_add_standard_extensions |
diff --git a/src/lib/libcrypto/hidden/openssl/x509v3.h b/src/lib/libcrypto/hidden/openssl/x509v3.h index a85c5c26aa..67f6a85bc4 100644 --- a/src/lib/libcrypto/hidden/openssl/x509v3.h +++ b/src/lib/libcrypto/hidden/openssl/x509v3.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509v3.h,v 1.5 2023/07/05 21:14:54 bcook Exp $ */ | 1 | /* $OpenBSD: x509v3.h,v 1.6 2024/03/02 10:35:32 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2022 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2022 Bob Beck <beck@openbsd.org> |
| 4 | * | 4 | * |
| @@ -160,10 +160,6 @@ LCRYPTO_USED(i2s_ASN1_INTEGER); | |||
| 160 | LCRYPTO_USED(s2i_ASN1_INTEGER); | 160 | LCRYPTO_USED(s2i_ASN1_INTEGER); |
| 161 | LCRYPTO_USED(i2s_ASN1_ENUMERATED); | 161 | LCRYPTO_USED(i2s_ASN1_ENUMERATED); |
| 162 | LCRYPTO_USED(i2s_ASN1_ENUMERATED_TABLE); | 162 | LCRYPTO_USED(i2s_ASN1_ENUMERATED_TABLE); |
| 163 | LCRYPTO_USED(X509V3_EXT_add); | ||
| 164 | LCRYPTO_USED(X509V3_EXT_add_list); | ||
| 165 | LCRYPTO_USED(X509V3_EXT_add_alias); | ||
| 166 | LCRYPTO_USED(X509V3_EXT_cleanup); | ||
| 167 | LCRYPTO_USED(X509V3_EXT_get); | 163 | LCRYPTO_USED(X509V3_EXT_get); |
| 168 | LCRYPTO_USED(X509V3_EXT_get_nid); | 164 | LCRYPTO_USED(X509V3_EXT_get_nid); |
| 169 | LCRYPTO_USED(X509V3_add_standard_extensions); | 165 | LCRYPTO_USED(X509V3_add_standard_extensions); |
diff --git a/src/lib/libcrypto/x509/x509_lib.c b/src/lib/libcrypto/x509/x509_lib.c index 5ddfc37619..c5151d407e 100644 --- a/src/lib/libcrypto/x509/x509_lib.c +++ b/src/lib/libcrypto/x509/x509_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_lib.c,v 1.16 2024/01/25 15:09:22 tb Exp $ */ | 1 | /* $OpenBSD: x509_lib.c,v 1.17 2024/03/02 10:35:32 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 | */ |
| @@ -333,37 +333,3 @@ err: | |||
| 333 | return 0; | 333 | return 0; |
| 334 | } | 334 | } |
| 335 | LCRYPTO_ALIAS(X509V3_add1_i2d); | 335 | LCRYPTO_ALIAS(X509V3_add1_i2d); |
| 336 | |||
| 337 | /* | ||
| 338 | * XXX - remove all the functions below in the next major bump. | ||
| 339 | */ | ||
| 340 | |||
| 341 | int | ||
| 342 | X509V3_EXT_add(X509V3_EXT_METHOD *ext) | ||
| 343 | { | ||
| 344 | X509V3error(ERR_R_DISABLED); | ||
| 345 | return 0; | ||
| 346 | } | ||
| 347 | LCRYPTO_ALIAS(X509V3_EXT_add); | ||
| 348 | |||
| 349 | int | ||
| 350 | X509V3_EXT_add_list(X509V3_EXT_METHOD *extlist) | ||
| 351 | { | ||
| 352 | X509V3error(ERR_R_DISABLED); | ||
| 353 | return 0; | ||
| 354 | } | ||
| 355 | LCRYPTO_ALIAS(X509V3_EXT_add_list); | ||
| 356 | |||
| 357 | int | ||
| 358 | X509V3_EXT_add_alias(int nid_to, int nid_from) | ||
| 359 | { | ||
| 360 | X509V3error(ERR_R_DISABLED); | ||
| 361 | return 0; | ||
| 362 | } | ||
| 363 | LCRYPTO_ALIAS(X509V3_EXT_add_alias); | ||
| 364 | |||
| 365 | void | ||
| 366 | X509V3_EXT_cleanup(void) | ||
| 367 | { | ||
| 368 | } | ||
| 369 | LCRYPTO_ALIAS(X509V3_EXT_cleanup); | ||
diff --git a/src/lib/libcrypto/x509/x509v3.h b/src/lib/libcrypto/x509/x509v3.h index f867cc38c3..676fd62c27 100644 --- a/src/lib/libcrypto/x509/x509v3.h +++ b/src/lib/libcrypto/x509/x509v3.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509v3.h,v 1.25 2023/06/25 18:15:21 tb Exp $ */ | 1 | /* $OpenBSD: x509v3.h,v 1.26 2024/03/02 10:35:32 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 | */ |
| @@ -692,10 +692,6 @@ ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const char *value); | |||
| 692 | char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *meth, const ASN1_ENUMERATED *aint); | 692 | char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *meth, const ASN1_ENUMERATED *aint); |
| 693 | char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *meth, | 693 | char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *meth, |
| 694 | const ASN1_ENUMERATED *aint); | 694 | const ASN1_ENUMERATED *aint); |
| 695 | int X509V3_EXT_add(X509V3_EXT_METHOD *ext); | ||
| 696 | int X509V3_EXT_add_list(X509V3_EXT_METHOD *extlist); | ||
| 697 | int X509V3_EXT_add_alias(int nid_to, int nid_from); | ||
| 698 | void X509V3_EXT_cleanup(void); | ||
| 699 | 695 | ||
| 700 | const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext); | 696 | const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext); |
| 701 | const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid); | 697 | const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid); |
