BOOL timestamps_utc = FALSE;
tls_support tls_in = {
- {-1}, /* tls_active */
- 0, /* bits */
- FALSE, /* tls_certificate_verified */
-#ifdef SUPPORT_DANE
- FALSE, /* dane_verified */
- 0, /* tlsa_usage */
-#endif
- NULL, /* tls_cipher */
- FALSE, /* tls_on_connect */
- NULL, /* tls_on_connect_ports */
- NULL, /* tls_peerdn */
- NULL /* tls_sni */
+ .active = { .sock = -1 }
+ /* remainder zero/null/false */
};
tree_node *tree_duplicates = NULL;
defined. */
if (have_auth)
- {
if (!support_crypteq) fprintf(new, "/* Force SUPPORT_CRYPTEQ for AUTH */\n"
"#define SUPPORT_CRYPTEQ\n");
- }
/* Check poll() for timer functionality.
Some OS' have released with it broken. */
{
struct timeval before, after;
- int rc;
size_t us;
gettimeofday(&before, NULL);
- rc = poll(NULL, 0, 500);
+ (void) poll(NULL, 0, 500);
gettimeofday(&after, NULL);
us = (after.tv_sec - before.tv_sec) * 1000000 +