Home
last modified time | relevance | path

Searched refs:diff_sec (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/asn1/
Dtime_support.c176 int from_sec, to_sec, diff_sec; in OPENSSL_gmtime_diff() local
187 diff_sec = to_sec - from_sec; in OPENSSL_gmtime_diff()
189 if (diff_day > 0 && diff_sec < 0) { in OPENSSL_gmtime_diff()
191 diff_sec += SECS_PER_DAY; in OPENSSL_gmtime_diff()
193 if (diff_day < 0 && diff_sec > 0) { in OPENSSL_gmtime_diff()
195 diff_sec -= SECS_PER_DAY; in OPENSSL_gmtime_diff()
202 *out_secs = diff_sec; in OPENSSL_gmtime_diff()