diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-06-12 11:17:50 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-06-15 13:22:38 -0400 |
commit | fa3a84422dac112fa68eebb29d14df9c1d7acf00 (patch) | |
tree | 3a02cb8857858298ee8b31f36dfa186a7bd85cf9 /include | |
parent | dc423f898e7d15913d31fee311502239d4167266 (diff) |
Constify some input buffers in asn1
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1215)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/asn1.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/asn1.h b/include/openssl/asn1.h index 7e2f72039f..4bae492f06 100644 --- a/include/openssl/asn1.h +++ b/include/openssl/asn1.h @@ -553,8 +553,8 @@ int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a, int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, BIT_STRING_BITNAME *tbl, int indent); -int ASN1_BIT_STRING_num_asc(char *name, BIT_STRING_BITNAME *tbl); -int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, +int ASN1_BIT_STRING_num_asc(const char *name, BIT_STRING_BITNAME *tbl); +int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, const char *name, int value, BIT_STRING_BITNAME *tbl); DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER) |