diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_conf.c | 17 | ||||
| -rw-r--r-- | src/lib/libcrypto/x509/x509_local.h | 4 |
2 files changed, 2 insertions, 19 deletions
diff --git a/src/lib/libcrypto/x509/x509_conf.c b/src/lib/libcrypto/x509/x509_conf.c index c8917f7ef7..51f92d43e4 100644 --- a/src/lib/libcrypto/x509/x509_conf.c +++ b/src/lib/libcrypto/x509/x509_conf.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_conf.c,v 1.26 2024/08/31 10:03:03 tb Exp $ */ | 1 | /* $OpenBSD: x509_conf.c,v 1.27 2024/08/31 10:04:50 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 | */ |
| @@ -404,14 +404,6 @@ X509V3_EXT_REQ_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, | |||
| 404 | } | 404 | } |
| 405 | LCRYPTO_ALIAS(X509V3_EXT_REQ_add_nconf); | 405 | LCRYPTO_ALIAS(X509V3_EXT_REQ_add_nconf); |
| 406 | 406 | ||
| 407 | /* XXX - remove in next bump. */ | ||
| 408 | char * | ||
| 409 | X509V3_get_string(X509V3_CTX *ctx, const char *name, const char *section) | ||
| 410 | { | ||
| 411 | X509V3error(ERR_R_DISABLED); | ||
| 412 | return NULL; | ||
| 413 | } | ||
| 414 | |||
| 415 | STACK_OF(CONF_VALUE) * | 407 | STACK_OF(CONF_VALUE) * |
| 416 | X509V3_get_section(X509V3_CTX *ctx, const char *section) | 408 | X509V3_get_section(X509V3_CTX *ctx, const char *section) |
| 417 | { | 409 | { |
| @@ -422,13 +414,6 @@ X509V3_get_section(X509V3_CTX *ctx, const char *section) | |||
| 422 | return NCONF_get_section(ctx->db, section); | 414 | return NCONF_get_section(ctx->db, section); |
| 423 | } | 415 | } |
| 424 | 416 | ||
| 425 | /* XXX - remove in next bump. */ | ||
| 426 | void | ||
| 427 | X509V3_string_free(X509V3_CTX *ctx, char *str) | ||
| 428 | { | ||
| 429 | return; | ||
| 430 | } | ||
| 431 | |||
| 432 | void | 417 | void |
| 433 | X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section) | 418 | X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section) |
| 434 | { | 419 | { |
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h index d232a54a21..b5a02b1146 100644 --- a/src/lib/libcrypto/x509/x509_local.h +++ b/src/lib/libcrypto/x509/x509_local.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_local.h,v 1.27 2024/08/31 10:03:03 tb Exp $ */ | 1 | /* $OpenBSD: x509_local.h,v 1.28 2024/08/31 10:04:50 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 2013. | 3 | * project 2013. |
| 4 | */ | 4 | */ |
| @@ -430,9 +430,7 @@ int X509V3_add_value_int(const char *name, const ASN1_INTEGER *aint, | |||
| 430 | int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool); | 430 | int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool); |
| 431 | int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint); | 431 | int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint); |
| 432 | 432 | ||
| 433 | char *X509V3_get_string(X509V3_CTX *ctx, const char *name, const char *section); | ||
| 434 | STACK_OF(CONF_VALUE) *X509V3_get_section(X509V3_CTX *ctx, const char *section); | 433 | STACK_OF(CONF_VALUE) *X509V3_get_section(X509V3_CTX *ctx, const char *section); |
| 435 | void X509V3_string_free(X509V3_CTX *ctx, char *str); | ||
| 436 | void X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section); | 434 | void X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section); |
| 437 | 435 | ||
| 438 | const X509V3_EXT_METHOD *x509v3_ext_method_authority_key_identifier(void); | 436 | const X509V3_EXT_METHOD *x509v3_ext_method_authority_key_identifier(void); |
