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 /crypto/asn1/t_bitst.c | |
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 'crypto/asn1/t_bitst.c')
-rw-r--r-- | crypto/asn1/t_bitst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/t_bitst.c b/crypto/asn1/t_bitst.c index 0c3a2393ba..c0aeca4c78 100644 --- a/crypto/asn1/t_bitst.c +++ b/crypto/asn1/t_bitst.c @@ -30,7 +30,7 @@ int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, return 1; } -int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, +int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, const char *name, int value, BIT_STRING_BITNAME *tbl) { int bitnum; @@ -44,7 +44,7 @@ int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, return 1; } -int ASN1_BIT_STRING_num_asc(char *name, BIT_STRING_BITNAME *tbl) +int ASN1_BIT_STRING_num_asc(const char *name, BIT_STRING_BITNAME *tbl) { BIT_STRING_BITNAME *bnam; for (bnam = tbl; bnam->lname; bnam++) { |