| 109 | } |
| 110 | |
| 111 | static void InjectEntropy(SSLContext* ctx) { |
| 112 | char buf[32]; |
| 113 | cc_result res = Platform_GetEntropy(buf, 32); |
| 114 | if (res) Platform_LogConst("SSL: Using insecure uninitialised stack data for entropy"); |
| 115 | |
| 116 | br_ssl_engine_inject_entropy(&ctx->sc.eng, buf, 32); |
| 117 | } |
| 118 | |
| 119 | static int ssl_time_check_callback(void* ctx, |
| 120 | uint32_t not_before_days, uint32_t not_before_secs, |
no test coverage detected