aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/tls/s2n_crl.h
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2022-12-14 15:26:54 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2022-12-14 15:26:54 +0300
commit4925d989167591a367baa018abd3dde8b24ce47f (patch)
tree1853212a7f126028a55f7ba871105c081089256d /contrib/restricted/aws/s2n/tls/s2n_crl.h
parent6aec14798ad91ed132f3da681c3d5b9c6fb2240d (diff)
downloadydb-4925d989167591a367baa018abd3dde8b24ce47f.tar.gz
Update contrib/restricted/aws/s2n to 1.3.29
Diffstat (limited to 'contrib/restricted/aws/s2n/tls/s2n_crl.h')
-rw-r--r--contrib/restricted/aws/s2n/tls/s2n_crl.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/contrib/restricted/aws/s2n/tls/s2n_crl.h b/contrib/restricted/aws/s2n/tls/s2n_crl.h
index f905f853ba..b974ee1506 100644
--- a/contrib/restricted/aws/s2n/tls/s2n_crl.h
+++ b/contrib/restricted/aws/s2n/tls/s2n_crl.h
@@ -17,6 +17,7 @@
#include "api/s2n.h"
#include "utils/s2n_result.h"
+#include "api/unstable/crl.h"
#include <openssl/x509v3.h>
@@ -38,20 +39,6 @@ struct s2n_crl_lookup {
struct s2n_crl *crl;
};
-typedef int (*s2n_crl_lookup_callback) (struct s2n_crl_lookup *lookup, void *context);
-
-/* TODO: APIs are part of an unfinished CRL validation feature and are temporarily hidden
- * https://github.com/aws/s2n-tls/issues/3499 */
-struct s2n_crl *s2n_crl_new(void);
-int s2n_crl_load_pem(struct s2n_crl *crl, uint8_t *pem, size_t len);
-int s2n_crl_free(struct s2n_crl **crl);
-int s2n_crl_get_issuer_hash(struct s2n_crl *crl, uint64_t *hash);
-int s2n_crl_validate_active(struct s2n_crl *crl);
-int s2n_crl_validate_not_expired(struct s2n_crl *crl);
-int s2n_crl_lookup_get_cert_issuer_hash(struct s2n_crl_lookup *lookup, uint64_t *hash);
-int s2n_crl_lookup_set(struct s2n_crl_lookup *lookup, struct s2n_crl *crl);
-int s2n_crl_lookup_ignore(struct s2n_crl_lookup *lookup);
-
S2N_RESULT s2n_crl_handle_lookup_callback_result(struct s2n_x509_validator *validator);
S2N_RESULT s2n_crl_invoke_lookup_callbacks(struct s2n_connection *conn, struct s2n_x509_validator *validator);
S2N_RESULT s2n_crl_get_crls_from_lookup_list(struct s2n_x509_validator *validator, STACK_OF(X509_CRL) *crl_stack);