openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libpam/1.3.1-r0/Linux-PAM-1.3.1/modules/pam_timestamp/pam_timestamp.c
static int timestamp_good(time_t then, time_t now, time_t interval)
{
    if (((now >= then) && ((now - then) < interval)) ||
        ((now < then) && ((then - now) < (2 * interval))))
    {
        return PAM_SUCCESS;
    }
    return PAM_AUTH_ERR;
}
/* Check if a given timestamp date, when compared to a current time, fits
 * within the given interval. */
Check if a given timestamp date, when compared to a current time, fits
within the given interval.
Check if a given timestamp date when compared to a current time fits within the given interval .
static int timestamp_good(time_t then, time_t now, time_t interval)
{
    if (((now >= then) && ((now - then) < interval)) ||
        ((now < then) && ((then - now) < (2 * interval))))
    {
        return PAM_SUCCESS;
    }
    return PAM_AUTH_ERR;
}
static int timestamp_good ( time_t then , time_t now , time_t interval ) { if ( ( ( now >= then ) && ( ( now - then ) < interval ) ) || ( ( now < then ) && ( ( then - now ) < ( 2 * interval ) ) ) ) { return PAM_SUCCESS ; } return PAM_AUTH_ERR ; }
Check if a given timestamp date, when compared to a current time, fits
 within the given interval.
Check if a given timestamp date when compared to a current time fits within the given interval .