diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509v3.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509v3.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/lib/libcrypto/x509/x509v3.h b/src/lib/libcrypto/x509/x509v3.h index 6a18c1f153..3c55987d47 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.32 2024/08/31 09:59:12 tb Exp $ */ | 1 | /* $OpenBSD: x509v3.h,v 1.33 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 | */ |
@@ -648,29 +648,12 @@ X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, | |||
648 | X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, | 648 | X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, |
649 | const char *name, const char *value); | 649 | const char *name, const char *value); |
650 | 650 | ||
651 | int X509V3_add_value_bool_nf(const char *name, int asn1_bool, | ||
652 | STACK_OF(CONF_VALUE) **extlist); | ||
653 | int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool); | ||
654 | int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint); | ||
655 | void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf); | 651 | void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf); |
656 | #endif | 652 | #endif |
657 | 653 | ||
658 | char *X509V3_get_string(X509V3_CTX *ctx, const char *name, | ||
659 | const char *section); | ||
660 | STACK_OF(CONF_VALUE) *X509V3_get_section(X509V3_CTX *ctx, const char *section); | ||
661 | void X509V3_string_free(X509V3_CTX *ctx, char *str); | ||
662 | void X509V3_section_free( X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section); | ||
663 | void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, | 654 | void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, |
664 | X509_REQ *req, X509_CRL *crl, int flags); | 655 | X509_REQ *req, X509_CRL *crl, int flags); |
665 | 656 | ||
666 | int X509V3_add_value(const char *name, const char *value, | ||
667 | STACK_OF(CONF_VALUE) **extlist); | ||
668 | int X509V3_add_value_uchar(const char *name, const unsigned char *value, | ||
669 | STACK_OF(CONF_VALUE) **extlist); | ||
670 | int X509V3_add_value_bool(const char *name, int asn1_bool, | ||
671 | STACK_OF(CONF_VALUE) **extlist); | ||
672 | int X509V3_add_value_int(const char *name, const ASN1_INTEGER *aint, | ||
673 | STACK_OF(CONF_VALUE) **extlist); | ||
674 | char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const ASN1_INTEGER *aint); | 657 | char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const ASN1_INTEGER *aint); |
675 | ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const char *value); | 658 | ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const char *value); |
676 | char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *meth, const ASN1_ENUMERATED *aint); | 659 | char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *meth, const ASN1_ENUMERATED *aint); |
@@ -685,7 +668,6 @@ void *X509V3_EXT_d2i(X509_EXTENSION *ext); | |||
685 | void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit, | 668 | void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit, |
686 | int *idx); | 669 | int *idx); |
687 | 670 | ||
688 | |||
689 | X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc); | 671 | X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc); |
690 | int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, int crit, unsigned long flags); | 672 | int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, int crit, unsigned long flags); |
691 | 673 | ||