diff options
author | tb <> | 2018-05-18 18:23:24 +0000 |
---|---|---|
committer | tb <> | 2018-05-18 18:23:24 +0000 |
commit | d180944018d8d319ba290f2f92f863d5ce1e81a1 (patch) | |
tree | f74816e3f1936d966799b3a802febcb8fb45f2df /src/lib/libcrypto/asn1/t_x509.c | |
parent | cb3c4e2da5b39e3aad1468bbce16140bf963f627 (diff) | |
download | openbsd-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.c | 4 |
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 | ||
492 | int | 492 | int |
493 | X509_NAME_print(BIO *bp, X509_NAME *name, int obase) | 493 | X509_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; |