summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/v3_sxnet.c
diff options
context:
space:
mode:
authortb <>2018-04-25 11:48:21 +0000
committertb <>2018-04-25 11:48:21 +0000
commitb32b7334e82988558a84760f424f8dd93d902393 (patch)
tree2706fdfa25b0fa2dc71fc06b437d687057013dcc /src/lib/libcrypto/x509v3/v3_sxnet.c
parent2225014e9e21b521735cd7db7cea4d899863d67b (diff)
downloadopenbsd-b32b7334e82988558a84760f424f8dd93d902393.tar.gz
openbsd-b32b7334e82988558a84760f424f8dd93d902393.tar.bz2
openbsd-b32b7334e82988558a84760f424f8dd93d902393.zip
Add const to functions in asn1/asn1.h as they did in OpenSSL.
BIO_f_asn1() will be taken care of later. Tested in a bulk by sthen ok bcook jca jsing
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_sxnet.c')
-rw-r--r--src/lib/libcrypto/x509v3/v3_sxnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_sxnet.c b/src/lib/libcrypto/x509v3/v3_sxnet.c
index 14c6e5c0a4..e113d5f7e2 100644
--- a/src/lib/libcrypto/x509v3/v3_sxnet.c
+++ b/src/lib/libcrypto/x509v3/v3_sxnet.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: v3_sxnet.c,v 1.19 2017/01/29 17:49:23 beck Exp $ */ 1/* $OpenBSD: v3_sxnet.c,v 1.20 2018/04/25 11:48:21 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 1999. 3 * project 1999.
4 */ 4 */
@@ -335,7 +335,7 @@ err:
335} 335}
336 336
337ASN1_OCTET_STRING * 337ASN1_OCTET_STRING *
338SXNET_get_id_asc(SXNET *sx, char *zone) 338SXNET_get_id_asc(SXNET *sx, const char *zone)
339{ 339{
340 ASN1_INTEGER *izone = NULL; 340 ASN1_INTEGER *izone = NULL;
341 ASN1_OCTET_STRING *oct; 341 ASN1_OCTET_STRING *oct;