diff options
author | agnosticdev <agnosticdev@gmail.com> | 2019-05-23 20:33:19 -0500 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2019-05-24 13:20:00 +1000 |
commit | 5435a830765a63692b8e1e406142d1602133a5a0 (patch) | |
tree | c51766fe16557b0712ad6ed7a7c489cb423dd0cf /include | |
parent | 55e09d17d4c84213d372651b0c91bdc9ef786728 (diff) |
issue-8973: Added const to parameters for values that were not altered
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8995)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/x509v3.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/x509v3.h b/include/openssl/x509v3.h index 9c7a325e26..a743e592b4 100644 --- a/include/openssl/x509v3.h +++ b/include/openssl/x509v3.h @@ -497,10 +497,10 @@ DECLARE_ASN1_FUNCTIONS(OTHERNAME) DECLARE_ASN1_FUNCTIONS(EDIPARTYNAME) int OTHERNAME_cmp(OTHERNAME *a, OTHERNAME *b); void GENERAL_NAME_set0_value(GENERAL_NAME *a, int type, void *value); -void *GENERAL_NAME_get0_value(GENERAL_NAME *a, int *ptype); +void *GENERAL_NAME_get0_value(const GENERAL_NAME *a, int *ptype); int GENERAL_NAME_set0_othername(GENERAL_NAME *gen, ASN1_OBJECT *oid, ASN1_TYPE *value); -int GENERAL_NAME_get0_otherName(GENERAL_NAME *gen, +int GENERAL_NAME_get0_otherName(const GENERAL_NAME *gen, ASN1_OBJECT **poid, ASN1_TYPE **pvalue); char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, |