diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_trs.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_trs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509_trs.c b/src/lib/libcrypto/x509/x509_trs.c index 9af74de1ca..651dc82a52 100644 --- a/src/lib/libcrypto/x509/x509_trs.c +++ b/src/lib/libcrypto/x509/x509_trs.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_trs.c,v 1.22 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: x509_trs.c,v 1.23 2018/05/18 18:40:38 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 | */ |
| @@ -187,7 +187,7 @@ X509_TRUST_set(int *t, int trust) | |||
| 187 | 187 | ||
| 188 | int | 188 | int |
| 189 | X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int), | 189 | X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int), |
| 190 | char *name, int arg1, void *arg2) | 190 | const char *name, int arg1, void *arg2) |
| 191 | { | 191 | { |
| 192 | int idx; | 192 | int idx; |
| 193 | X509_TRUST *trtmp; | 193 | X509_TRUST *trtmp; |
| @@ -274,19 +274,19 @@ X509_TRUST_cleanup(void) | |||
| 274 | } | 274 | } |
| 275 | 275 | ||
| 276 | int | 276 | int |
| 277 | X509_TRUST_get_flags(X509_TRUST *xp) | 277 | X509_TRUST_get_flags(const X509_TRUST *xp) |
| 278 | { | 278 | { |
| 279 | return xp->flags; | 279 | return xp->flags; |
| 280 | } | 280 | } |
| 281 | 281 | ||
| 282 | char * | 282 | char * |
| 283 | X509_TRUST_get0_name(X509_TRUST *xp) | 283 | X509_TRUST_get0_name(const X509_TRUST *xp) |
| 284 | { | 284 | { |
| 285 | return xp->name; | 285 | return xp->name; |
| 286 | } | 286 | } |
| 287 | 287 | ||
| 288 | int | 288 | int |
| 289 | X509_TRUST_get_trust(X509_TRUST *xp) | 289 | X509_TRUST_get_trust(const X509_TRUST *xp) |
| 290 | { | 290 | { |
| 291 | return xp->trust; | 291 | return xp->trust; |
| 292 | } | 292 | } |
