diff options
Diffstat (limited to 'src/lib/libcrypto/x509v3/x509v3.h')
-rw-r--r-- | src/lib/libcrypto/x509v3/x509v3.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/libcrypto/x509v3/x509v3.h b/src/lib/libcrypto/x509v3/x509v3.h index 0d636d7bf4..218c0cf391 100644 --- a/src/lib/libcrypto/x509v3/x509v3.h +++ b/src/lib/libcrypto/x509v3/x509v3.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509v3.h,v 1.26 2018/05/18 18:30:03 tb Exp $ */ | 1 | /* $OpenBSD: x509v3.h,v 1.27 2018/05/18 19:34:37 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 | */ |
@@ -686,7 +686,7 @@ extern const ASN1_ITEM POLICY_CONSTRAINTS_it; | |||
686 | 686 | ||
687 | GENERAL_NAME *a2i_GENERAL_NAME(GENERAL_NAME *out, | 687 | GENERAL_NAME *a2i_GENERAL_NAME(GENERAL_NAME *out, |
688 | const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, | 688 | const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, |
689 | int gen_type, char *value, int is_nc); | 689 | int gen_type, const char *value, int is_nc); |
690 | 690 | ||
691 | #ifdef HEADER_CONF_H | 691 | #ifdef HEADER_CONF_H |
692 | GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, | 692 | GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, |
@@ -720,16 +720,17 @@ int X509V3_EXT_REQ_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, | |||
720 | int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, | 720 | int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, |
721 | const char *section, X509_CRL *crl); | 721 | const char *section, X509_CRL *crl); |
722 | 722 | ||
723 | int X509V3_add_value_bool_nf(char *name, int asn1_bool, | 723 | int X509V3_add_value_bool_nf(const char *name, int asn1_bool, |
724 | STACK_OF(CONF_VALUE) **extlist); | 724 | STACK_OF(CONF_VALUE) **extlist); |
725 | int X509V3_get_value_bool(CONF_VALUE *value, int *asn1_bool); | 725 | int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool); |
726 | int X509V3_get_value_int(CONF_VALUE *value, ASN1_INTEGER **aint); | 726 | int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint); |
727 | void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf); | 727 | void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf); |
728 | void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash); | 728 | void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash); |
729 | #endif | 729 | #endif |
730 | 730 | ||
731 | char * X509V3_get_string(X509V3_CTX *ctx, char *name, char *section); | 731 | char *X509V3_get_string(X509V3_CTX *ctx, const char *name, |
732 | STACK_OF(CONF_VALUE) * X509V3_get_section(X509V3_CTX *ctx, char *section); | 732 | const char *section); |
733 | STACK_OF(CONF_VALUE) *X509V3_get_section(X509V3_CTX *ctx, const char *section); | ||
733 | void X509V3_string_free(X509V3_CTX *ctx, char *str); | 734 | void X509V3_string_free(X509V3_CTX *ctx, char *str); |
734 | void X509V3_section_free( X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section); | 735 | void X509V3_section_free( X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section); |
735 | void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, | 736 | void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, |