diff options
| author | tb <> | 2018-05-18 18:23:24 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-18 18:23:24 +0000 |
| commit | 5926c5b63c6dc5165df0ea09f9557f930bfb41ac (patch) | |
| tree | f74816e3f1936d966799b3a802febcb8fb45f2df /src/lib/libcrypto/x509/x509.h | |
| parent | 0da252659237cff69d3016ea725f2722e8211f6e (diff) | |
| download | openbsd-5926c5b63c6dc5165df0ea09f9557f930bfb41ac.tar.gz openbsd-5926c5b63c6dc5165df0ea09f9557f930bfb41ac.tar.bz2 openbsd-5926c5b63c6dc5165df0ea09f9557f930bfb41ac.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/x509/x509.h')
| -rw-r--r-- | src/lib/libcrypto/x509/x509.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index bbbb174eb1..d4efaf3eca 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509.h,v 1.59 2018/05/18 18:19:31 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.60 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 | * |
| @@ -1076,11 +1076,13 @@ int X509_print_ex_fp(FILE *bp,X509 *x, unsigned long nmflag, unsigned long cfla | |||
| 1076 | int X509_print_fp(FILE *bp,X509 *x); | 1076 | int X509_print_fp(FILE *bp,X509 *x); |
| 1077 | int X509_CRL_print_fp(FILE *bp,X509_CRL *x); | 1077 | int X509_CRL_print_fp(FILE *bp,X509_CRL *x); |
| 1078 | int X509_REQ_print_fp(FILE *bp,X509_REQ *req); | 1078 | int X509_REQ_print_fp(FILE *bp,X509_REQ *req); |
| 1079 | int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags); | 1079 | int X509_NAME_print_ex_fp(FILE *fp, const X509_NAME *nm, int indent, |
| 1080 | unsigned long flags); | ||
| 1080 | 1081 | ||
| 1081 | #ifndef OPENSSL_NO_BIO | 1082 | #ifndef OPENSSL_NO_BIO |
| 1082 | int X509_NAME_print(BIO *bp, X509_NAME *name, int obase); | 1083 | int X509_NAME_print(BIO *bp, const X509_NAME *name, int obase); |
| 1083 | int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags); | 1084 | int X509_NAME_print_ex(BIO *out, const X509_NAME *nm, int indent, |
| 1085 | unsigned long flags); | ||
| 1084 | int X509_print_ex(BIO *bp,X509 *x, unsigned long nmflag, unsigned long cflag); | 1086 | int X509_print_ex(BIO *bp,X509 *x, unsigned long nmflag, unsigned long cflag); |
| 1085 | int X509_print(BIO *bp,X509 *x); | 1087 | int X509_print(BIO *bp,X509 *x); |
| 1086 | int X509_ocspid_print(BIO *bp,X509 *x); | 1088 | int X509_ocspid_print(BIO *bp,X509 *x); |
