diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index c84ff6b6b3..70d931c578 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.106 2024/03/02 10:33:51 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.107 2024/03/02 10:48:17 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 | * |
@@ -662,8 +662,6 @@ int X509_alias_set1(X509 *x, const unsigned char *name, int len); | |||
662 | int X509_keyid_set1(X509 *x, const unsigned char *id, int len); | 662 | int X509_keyid_set1(X509 *x, const unsigned char *id, int len); |
663 | unsigned char *X509_alias_get0(X509 *x, int *len); | 663 | unsigned char *X509_alias_get0(X509 *x, int *len); |
664 | unsigned char *X509_keyid_get0(X509 *x, int *len); | 664 | unsigned char *X509_keyid_get0(X509 *x, int *len); |
665 | int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int); | ||
666 | int X509_TRUST_set(int *t, int trust); | ||
667 | int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj); | 665 | int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj); |
668 | int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj); | 666 | int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj); |
669 | void X509_trust_clear(X509 *x); | 667 | void X509_trust_clear(X509 *x); |
@@ -1041,15 +1039,6 @@ int X509_PUBKEY_get0_param(ASN1_OBJECT **ppkalg, const unsigned char **pk, | |||
1041 | int *ppklen, X509_ALGOR **pa, X509_PUBKEY *pub); | 1039 | int *ppklen, X509_ALGOR **pa, X509_PUBKEY *pub); |
1042 | 1040 | ||
1043 | int X509_check_trust(X509 *x, int id, int flags); | 1041 | int X509_check_trust(X509 *x, int id, int flags); |
1044 | int X509_TRUST_get_count(void); | ||
1045 | X509_TRUST * X509_TRUST_get0(int idx); | ||
1046 | int X509_TRUST_get_by_id(int id); | ||
1047 | int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int), | ||
1048 | const char *name, int arg1, void *arg2); | ||
1049 | void X509_TRUST_cleanup(void); | ||
1050 | int X509_TRUST_get_flags(const X509_TRUST *xp); | ||
1051 | char *X509_TRUST_get0_name(const X509_TRUST *xp); | ||
1052 | int X509_TRUST_get_trust(const X509_TRUST *xp); | ||
1053 | 1042 | ||
1054 | int X509_up_ref(X509 *x); | 1043 | int X509_up_ref(X509 *x); |
1055 | STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain); | 1044 | STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain); |