now = time (NULL); while (chain) { cert = g_tls_certificate_gnutls_get_cert (chain); t = gnutls_x509_crt_get_activation_time (cert); if (t == (time_t) -1 || t > now) gtls_flags |= G_TLS_CERTIFICATE_NOT_ACTIVATED;
--------------------------------------
if system time time_t gives wrong time like 1 jan 1970, will the ssl handshake fails. what could be security issue if we would ignore this flags to be set.