summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_conf.c
diff options
context:
space:
mode:
authortb <>2024-08-31 10:03:03 +0000
committertb <>2024-08-31 10:03:03 +0000
commitd4f7c9504448480d32c75f0a1361436d34de97dc (patch)
tree48fd0ca4b4fcbb6d37b8cd4ce025c65e8f71ffde /src/lib/libcrypto/x509/x509_conf.c
parentd58c480554b7e690b2dab126d2f8f622324e3a42 (diff)
downloadopenbsd-d4f7c9504448480d32c75f0a1361436d34de97dc.tar.gz
openbsd-d4f7c9504448480d32c75f0a1361436d34de97dc.tar.bz2
openbsd-d4f7c9504448480d32c75f0a1361436d34de97dc.zip
Make some more x509 conf stuff internal
This internalizes a particularly scary layer of conf used for X.509 extensions. Again unused public API... ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_conf.c')
-rw-r--r--src/lib/libcrypto/x509/x509_conf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509_conf.c b/src/lib/libcrypto/x509/x509_conf.c
index ab78649453..c8917f7ef7 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.25 2024/08/31 09:59:12 tb Exp $ */ 1/* $OpenBSD: x509_conf.c,v 1.26 2024/08/31 10:03:03 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 */
@@ -411,7 +411,6 @@ X509V3_get_string(X509V3_CTX *ctx, const char *name, const char *section)
411 X509V3error(ERR_R_DISABLED); 411 X509V3error(ERR_R_DISABLED);
412 return NULL; 412 return NULL;
413} 413}
414LCRYPTO_ALIAS(X509V3_get_string);
415 414
416STACK_OF(CONF_VALUE) * 415STACK_OF(CONF_VALUE) *
417X509V3_get_section(X509V3_CTX *ctx, const char *section) 416X509V3_get_section(X509V3_CTX *ctx, const char *section)
@@ -422,7 +421,6 @@ X509V3_get_section(X509V3_CTX *ctx, const char *section)
422 } 421 }
423 return NCONF_get_section(ctx->db, section); 422 return NCONF_get_section(ctx->db, section);
424} 423}
425LCRYPTO_ALIAS(X509V3_get_section);
426 424
427/* XXX - remove in next bump. */ 425/* XXX - remove in next bump. */
428void 426void
@@ -430,14 +428,12 @@ X509V3_string_free(X509V3_CTX *ctx, char *str)
430{ 428{
431 return; 429 return;
432} 430}
433LCRYPTO_ALIAS(X509V3_string_free);
434 431
435void 432void
436X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section) 433X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section)
437{ 434{
438 return; 435 return;
439} 436}
440LCRYPTO_ALIAS(X509V3_section_free);
441 437
442void 438void
443X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf) 439X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf)