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/asn_mstbl.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/asn_mstbl.c')
-rw-r--r-- | crypto/asn1/asn_mstbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/asn_mstbl.c b/crypto/asn1/asn_mstbl.c index 196dd56f06..8260939002 100644 --- a/crypto/asn1/asn_mstbl.c +++ b/crypto/asn1/asn_mstbl.c @@ -16,7 +16,7 @@ /* Multi string module: add table entries from a given section */ -static int do_tcreate(char *value, char *name); +static int do_tcreate(const char *value, const char *name); static int stbl_module_init(CONF_IMODULE *md, const CONF *cnf) { @@ -55,7 +55,7 @@ void ASN1_add_stable_module(void) * n1:v1, n2:v2,... where name is "min", "max", "mask" or "flags". */ -static int do_tcreate(char *value, char *name) +static int do_tcreate(const char *value, const char *name) { char *eptr; int nid, i, rv = 0; |