summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_int.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-06-12 18:20:40 +0200
committerRich Salz <rsalz@openssl.org>2016-06-15 13:22:38 -0400
commitc8f717fe87632b3a29ad5d82718df28209ba72dd (patch)
tree062e477557b5445819dde1a9d42b3ff287e1057d /crypto/x509v3/v3_int.c
parent82643254d6d85e7875dbba0df85cea8751b1c3a0 (diff)
Constify input buffers of some X509V3 and X509_PURPOSE -related methods
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/x509v3/v3_int.c')
-rw-r--r--crypto/x509v3/v3_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_int.c b/crypto/x509v3/v3_int.c
index a644c33623..690c90e8f9 100644
--- a/crypto/x509v3/v3_int.c
+++ b/crypto/x509v3/v3_int.c
@@ -29,7 +29,7 @@ const X509V3_EXT_METHOD v3_delta_crl = {
};
static void *s2i_asn1_int(X509V3_EXT_METHOD *meth, X509V3_CTX *ctx,
- char *value)
+ const char *value)
{
return s2i_ASN1_INTEGER(meth, value);
}