summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/t_x509.c
diff options
context:
space:
mode:
authortb <>2018-05-18 18:23:24 +0000
committertb <>2018-05-18 18:23:24 +0000
commitd180944018d8d319ba290f2f92f863d5ce1e81a1 (patch)
treef74816e3f1936d966799b3a802febcb8fb45f2df /src/lib/libcrypto/asn1/t_x509.c
parentcb3c4e2da5b39e3aad1468bbce16140bf963f627 (diff)
downloadopenbsd-d180944018d8d319ba290f2f92f863d5ce1e81a1.tar.gz
openbsd-d180944018d8d319ba290f2f92f863d5ce1e81a1.tar.bz2
openbsd-d180944018d8d319ba290f2f92f863d5ce1e81a1.zip
Add a const qualifier to the 'X509_NAME *' argument of
X509_NAME_print{,_ex{,_fp}}(3). tested in a bulk build by sthen ok jsing
Diffstat (limited to 'src/lib/libcrypto/asn1/t_x509.c')
-rw-r--r--src/lib/libcrypto/asn1/t_x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c
index 59b308e763..e287a6cf6a 100644
--- a/src/lib/libcrypto/asn1/t_x509.c
+++ b/src/lib/libcrypto/asn1/t_x509.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t_x509.c,v 1.30 2018/05/01 19:01:27 tb Exp $ */ 1/* $OpenBSD: t_x509.c,v 1.31 2018/05/18 18:23:24 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -490,7 +490,7 @@ err:
490} 490}
491 491
492int 492int
493X509_NAME_print(BIO *bp, X509_NAME *name, int obase) 493X509_NAME_print(BIO *bp, const X509_NAME *name, int obase)
494{ 494{
495 char *s, *c, *b; 495 char *s, *c, *b;
496 int ret = 0, l, i; 496 int ret = 0, l, i;