summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/v3_utl.c
diff options
context:
space:
mode:
authortb <>2018-05-19 10:50:08 +0000
committertb <>2018-05-19 10:50:08 +0000
commit6827cc3b1755c493f24f9fd40b88404497bc961d (patch)
treeecddf5e8b9f1a7e0ae4cb680326674269a44f625 /src/lib/libcrypto/x509v3/v3_utl.c
parentdd72a6c5c592ecb43f22716a255db7a9fe3db46e (diff)
downloadopenbsd-6827cc3b1755c493f24f9fd40b88404497bc961d.tar.gz
openbsd-6827cc3b1755c493f24f9fd40b88404497bc961d.tar.bz2
openbsd-6827cc3b1755c493f24f9fd40b88404497bc961d.zip
Add a const qualifier to the aint argument of X509V3_add_value_int()
Tested in a bulk build by sthen ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_utl.c')
-rw-r--r--src/lib/libcrypto/x509v3/v3_utl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_utl.c b/src/lib/libcrypto/x509v3/v3_utl.c
index 07c7881581..4f8d16fd00 100644
--- a/src/lib/libcrypto/x509v3/v3_utl.c
+++ b/src/lib/libcrypto/x509v3/v3_utl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: v3_utl.c,v 1.30 2018/05/19 10:37:02 tb Exp $ */ 1/* $OpenBSD: v3_utl.c,v 1.31 2018/05/19 10:50:08 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -230,7 +230,7 @@ s2i_ASN1_INTEGER(X509V3_EXT_METHOD *method, const char *value)
230} 230}
231 231
232int 232int
233X509V3_add_value_int(const char *name, ASN1_INTEGER *aint, 233X509V3_add_value_int(const char *name, const ASN1_INTEGER *aint,
234 STACK_OF(CONF_VALUE) **extlist) 234 STACK_OF(CONF_VALUE) **extlist)
235{ 235{
236 char *strtmp; 236 char *strtmp;