summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/x509v3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509v3/x509v3.h')
-rw-r--r--src/lib/libcrypto/x509v3/x509v3.h15
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
687GENERAL_NAME *a2i_GENERAL_NAME(GENERAL_NAME *out, 687GENERAL_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
692GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, 692GENERAL_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,
720int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, 720int 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
723int X509V3_add_value_bool_nf(char *name, int asn1_bool, 723int X509V3_add_value_bool_nf(const char *name, int asn1_bool,
724 STACK_OF(CONF_VALUE) **extlist); 724 STACK_OF(CONF_VALUE) **extlist);
725int X509V3_get_value_bool(CONF_VALUE *value, int *asn1_bool); 725int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool);
726int X509V3_get_value_int(CONF_VALUE *value, ASN1_INTEGER **aint); 726int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint);
727void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf); 727void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf);
728void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash); 728void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash);
729#endif 729#endif
730 730
731char * X509V3_get_string(X509V3_CTX *ctx, char *name, char *section); 731char *X509V3_get_string(X509V3_CTX *ctx, const char *name,
732STACK_OF(CONF_VALUE) * X509V3_get_section(X509V3_CTX *ctx, char *section); 732 const char *section);
733STACK_OF(CONF_VALUE) *X509V3_get_section(X509V3_CTX *ctx, const char *section);
733void X509V3_string_free(X509V3_CTX *ctx, char *str); 734void X509V3_string_free(X509V3_CTX *ctx, char *str);
734void X509V3_section_free( X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section); 735void X509V3_section_free( X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section);
735void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, 736void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject,