summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/tasn_enc.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-09-18 22:15:31 +0000
committerAndy Polyakov <appro@openssl.org>2007-09-18 22:15:31 +0000
commita005fb019f1266fac53c32a9f17d7f1e92aa2536 (patch)
tree760b5fdf0310402d3b769a21b07d00ca60135bd6 /crypto/asn1/tasn_enc.c
parentb5e5760d0173215c73dcb64e0e1b8e73df4273f4 (diff)
Addenum to "Constify obj_dat.[ch]."
Diffstat (limited to 'crypto/asn1/tasn_enc.c')
-rw-r--r--crypto/asn1/tasn_enc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/asn1/tasn_enc.c b/crypto/asn1/tasn_enc.c
index 28f6e42521..03e59d59c7 100644
--- a/crypto/asn1/tasn_enc.c
+++ b/crypto/asn1/tasn_enc.c
@@ -569,7 +569,8 @@ int asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype,
ASN1_STRING *strtmp;
ASN1_OBJECT *otmp;
int utype;
- unsigned char *cont, c;
+ const unsigned char *cont;
+ unsigned char c;
int len;
const ASN1_PRIMITIVE_FUNCS *pf;
pf = it->funcs;