Lines Matching refs:curtime
79 time_t curtime; /* Current time */ in cupsMakeServerCredentials() local
146 curtime = time(NULL); in cupsMakeServerCredentials()
147 serial[0] = curtime >> 24; in cupsMakeServerCredentials()
148 serial[1] = curtime >> 16; in cupsMakeServerCredentials()
149 serial[2] = curtime >> 8; in cupsMakeServerCredentials()
150 serial[3] = curtime; in cupsMakeServerCredentials()
173 gnutls_x509_crt_set_activation_time(crt, curtime); in cupsMakeServerCredentials()
174 gnutls_x509_crt_set_expiration_time(crt, curtime + 10 * 365 * 86400); in cupsMakeServerCredentials()
573 time_t curtime; /* Current date/time */ in httpCredentialsGetTrust() local
575 time(&curtime); in httpCredentialsGetTrust()
576 if (curtime < gnutls_x509_crt_get_activation_time(cert) || in httpCredentialsGetTrust()
577 curtime > gnutls_x509_crt_get_expiration_time(cert)) in httpCredentialsGetTrust()