diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/x509v3/x509v3.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/lib/libcrypto/x509v3/x509v3.h b/src/lib/libcrypto/x509v3/x509v3.h index 218c0cf391..34b3dd9e89 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.27 2018/05/18 19:34:37 tb Exp $ */ | 1 | /* $OpenBSD: x509v3.h,v 1.28 2018/05/19 10:37:02 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 | */ |
| @@ -595,15 +595,17 @@ int GENERAL_NAME_set0_othername(GENERAL_NAME *gen, | |||
| 595 | int GENERAL_NAME_get0_otherName(GENERAL_NAME *gen, | 595 | int GENERAL_NAME_get0_otherName(GENERAL_NAME *gen, |
| 596 | ASN1_OBJECT **poid, ASN1_TYPE **pvalue); | 596 | ASN1_OBJECT **poid, ASN1_TYPE **pvalue); |
| 597 | 597 | ||
| 598 | char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, ASN1_OCTET_STRING *ia5); | 598 | char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, |
| 599 | ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str); | 599 | const ASN1_OCTET_STRING *ia5); |
| 600 | ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, | ||
| 601 | X509V3_CTX *ctx, const char *str); | ||
| 600 | 602 | ||
| 601 | EXTENDED_KEY_USAGE *EXTENDED_KEY_USAGE_new(void); | 603 | EXTENDED_KEY_USAGE *EXTENDED_KEY_USAGE_new(void); |
| 602 | void EXTENDED_KEY_USAGE_free(EXTENDED_KEY_USAGE *a); | 604 | void EXTENDED_KEY_USAGE_free(EXTENDED_KEY_USAGE *a); |
| 603 | EXTENDED_KEY_USAGE *d2i_EXTENDED_KEY_USAGE(EXTENDED_KEY_USAGE **a, const unsigned char **in, long len); | 605 | EXTENDED_KEY_USAGE *d2i_EXTENDED_KEY_USAGE(EXTENDED_KEY_USAGE **a, const unsigned char **in, long len); |
| 604 | int i2d_EXTENDED_KEY_USAGE(EXTENDED_KEY_USAGE *a, unsigned char **out); | 606 | int i2d_EXTENDED_KEY_USAGE(EXTENDED_KEY_USAGE *a, unsigned char **out); |
| 605 | extern const ASN1_ITEM EXTENDED_KEY_USAGE_it; | 607 | extern const ASN1_ITEM EXTENDED_KEY_USAGE_it; |
| 606 | int i2a_ACCESS_DESCRIPTION(BIO *bp, ACCESS_DESCRIPTION* a); | 608 | int i2a_ACCESS_DESCRIPTION(BIO *bp, const ACCESS_DESCRIPTION* a); |
| 607 | 609 | ||
| 608 | CERTIFICATEPOLICIES *CERTIFICATEPOLICIES_new(void); | 610 | CERTIFICATEPOLICIES *CERTIFICATEPOLICIES_new(void); |
| 609 | void CERTIFICATEPOLICIES_free(CERTIFICATEPOLICIES *a); | 611 | void CERTIFICATEPOLICIES_free(CERTIFICATEPOLICIES *a); |
| @@ -744,10 +746,11 @@ int X509V3_add_value_bool(const char *name, int asn1_bool, | |||
| 744 | STACK_OF(CONF_VALUE) **extlist); | 746 | STACK_OF(CONF_VALUE) **extlist); |
| 745 | int X509V3_add_value_int(const char *name, ASN1_INTEGER *aint, | 747 | int X509V3_add_value_int(const char *name, ASN1_INTEGER *aint, |
| 746 | STACK_OF(CONF_VALUE) **extlist); | 748 | STACK_OF(CONF_VALUE) **extlist); |
| 747 | char * i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, ASN1_INTEGER *aint); | 749 | char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const ASN1_INTEGER *aint); |
| 748 | ASN1_INTEGER * s2i_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const char *value); | 750 | ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const char *value); |
| 749 | char * i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *meth, ASN1_ENUMERATED *aint); | 751 | char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *meth, const ASN1_ENUMERATED *aint); |
| 750 | char * i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *meth, ASN1_ENUMERATED *aint); | 752 | char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *meth, |
| 753 | const ASN1_ENUMERATED *aint); | ||
| 751 | int X509V3_EXT_add(X509V3_EXT_METHOD *ext); | 754 | int X509V3_EXT_add(X509V3_EXT_METHOD *ext); |
| 752 | int X509V3_EXT_add_list(X509V3_EXT_METHOD *extlist); | 755 | int X509V3_EXT_add_list(X509V3_EXT_METHOD *extlist); |
| 753 | int X509V3_EXT_add_alias(int nid_to, int nid_from); | 756 | int X509V3_EXT_add_alias(int nid_to, int nid_from); |
