diff options
author | tb <> | 2018-05-18 18:40:38 +0000 |
---|---|---|
committer | tb <> | 2018-05-18 18:40:38 +0000 |
commit | 7c1bacfd1e2180b7fa9c03c8eb8a8d3217490562 (patch) | |
tree | ebe15260dde954184f5b5302492ee3852c60f51d /src/lib/libcrypto/x509/x509.h | |
parent | 55c786007a2c2ee78f6409dc2a0c3dbc7a8ed7df (diff) | |
download | openbsd-7c1bacfd1e2180b7fa9c03c8eb8a8d3217490562.tar.gz openbsd-7c1bacfd1e2180b7fa9c03c8eb8a8d3217490562.tar.bz2 openbsd-7c1bacfd1e2180b7fa9c03c8eb8a8d3217490562.zip |
Add const qualifiers to the name and xp arguments of X509_TRUST_add(3),
X509_TRUST_get0_name(3), X509_TRUST_get_flags(3), and X509_TRUST_get_trust(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, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index 2be1e3c000..56c1b8a1a0 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.61 2018/05/18 18:37:23 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.62 2018/05/18 18:40:38 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 | * |
@@ -1318,11 +1318,11 @@ int X509_TRUST_get_count(void); | |||
1318 | X509_TRUST * X509_TRUST_get0(int idx); | 1318 | X509_TRUST * X509_TRUST_get0(int idx); |
1319 | int X509_TRUST_get_by_id(int id); | 1319 | int X509_TRUST_get_by_id(int id); |
1320 | int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int), | 1320 | int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int), |
1321 | char *name, int arg1, void *arg2); | 1321 | const char *name, int arg1, void *arg2); |
1322 | void X509_TRUST_cleanup(void); | 1322 | void X509_TRUST_cleanup(void); |
1323 | int X509_TRUST_get_flags(X509_TRUST *xp); | 1323 | int X509_TRUST_get_flags(const X509_TRUST *xp); |
1324 | char *X509_TRUST_get0_name(X509_TRUST *xp); | 1324 | char *X509_TRUST_get0_name(const X509_TRUST *xp); |
1325 | int X509_TRUST_get_trust(X509_TRUST *xp); | 1325 | int X509_TRUST_get_trust(const X509_TRUST *xp); |
1326 | 1326 | ||
1327 | int X509_up_ref(X509 *x); | 1327 | int X509_up_ref(X509 *x); |
1328 | STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain); | 1328 | STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain); |