Searched refs:out_clock (Results 1 – 5 of 5) sorted by relevance
406 void ssl_get_current_time(const SSL *ssl, struct OPENSSL_timeval *out_clock) { in ssl_get_current_time() argument409 ssl_ctx_get_current_time(ssl->ctx.get(), out_clock); in ssl_get_current_time()413 struct OPENSSL_timeval *out_clock) { in ssl_ctx_get_current_time() argument421 out_clock->tv_sec = 0; in ssl_ctx_get_current_time()422 out_clock->tv_usec = 0; in ssl_ctx_get_current_time()424 out_clock->tv_sec = (uint64_t)clock.tv_sec; in ssl_ctx_get_current_time()425 out_clock->tv_usec = (uint32_t)clock.tv_usec; in ssl_ctx_get_current_time()431 out_clock->tv_sec = 1234; in ssl_ctx_get_current_time()432 out_clock->tv_usec = 1234; in ssl_ctx_get_current_time()438 out_clock->tv_sec = 0; in ssl_ctx_get_current_time()[all …]
2846 void ssl_get_current_time(const SSL *ssl, struct OPENSSL_timeval *out_clock);2848 struct OPENSSL_timeval *out_clock);3103 void (*current_time_cb)(const SSL *ssl, struct timeval *out_clock) = nullptr;
2238 static void CurrentTimeCallback(const SSL *ssl, timeval *out_clock) { in CurrentTimeCallback() argument2239 *out_clock = g_current_time; in CurrentTimeCallback()2242 static void FrozenTimeCallback(const SSL *ssl, timeval *out_clock) { in FrozenTimeCallback() argument2243 out_clock->tv_sec = 1000; in FrozenTimeCallback()2244 out_clock->tv_usec = 0; in FrozenTimeCallback()
603 static void CurrentTimeCallback(const SSL *ssl, timeval *out_clock) { in CurrentTimeCallback() argument604 *out_clock = *GetClock(); in CurrentTimeCallback()
3497 SSL_CTX *ctx, void (*cb)(const SSL *ssl, struct timeval *out_clock));