diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2022-11-30 20:07:11 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2022-11-30 20:07:11 +0300 |
commit | 3dfe99f4cc702156a58dce52df0cf2100c626241 (patch) | |
tree | 73ae0e2d09d6ffc5bbb24123bd97592ca45cfde0 /contrib/restricted/aws/s2n/tls/s2n_config.h | |
parent | 5941cbae8a1b816d4743f50c20c7a5631af4e8e1 (diff) | |
download | ydb-3dfe99f4cc702156a58dce52df0cf2100c626241.tar.gz |
Update contrib/restricted/aws/s2n to 1.3.28
Diffstat (limited to 'contrib/restricted/aws/s2n/tls/s2n_config.h')
-rw-r--r-- | contrib/restricted/aws/s2n/tls/s2n_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/restricted/aws/s2n/tls/s2n_config.h b/contrib/restricted/aws/s2n/tls/s2n_config.h index e9659fa2f8..bd7254e325 100644 --- a/contrib/restricted/aws/s2n/tls/s2n_config.h +++ b/contrib/restricted/aws/s2n/tls/s2n_config.h @@ -24,6 +24,7 @@ #include "tls/s2n_x509_validator.h" #include "utils/s2n_blob.h" #include "utils/s2n_set.h" +#include "tls/s2n_crl.h" #define S2N_MAX_TICKET_KEYS 48 #define S2N_MAX_TICKET_KEY_HASHES 500 /* 10KB */ @@ -125,6 +126,9 @@ struct s2n_config { uint8_t (*verify_host)(const char *host_name, size_t host_name_len, void *data); void *data_for_verify_host; + s2n_crl_lookup_callback crl_lookup_cb; + void *crl_lookup_ctx; + /* Application supplied callback to resolve domain name conflicts when loading certs. */ s2n_cert_tiebreak_callback cert_tiebreak_cb; @@ -178,3 +182,4 @@ int s2n_config_free_session_ticket_keys(struct s2n_config *config); void s2n_wipe_static_configs(void); extern struct s2n_cert_chain_and_key *s2n_config_get_single_default_cert(struct s2n_config *config); int s2n_config_get_num_default_certs(struct s2n_config *config); +S2N_RESULT s2n_config_wall_clock(struct s2n_config *config, uint64_t *output); |