Home
last modified time | relevance | path

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

/net-tools-3.5.0/mbedtls-2.4.0/library/
Dx509.c83 #define CHECK_RANGE(min, max, val) if( val < min || val > max ){ return( ret ); } macro
497 CHECK_RANGE( 0, 9999, time->year ); in x509_date_is_valid()
498 CHECK_RANGE( 0, 23, time->hour ); in x509_date_is_valid()
499 CHECK_RANGE( 0, 59, time->min ); in x509_date_is_valid()
500 CHECK_RANGE( 0, 59, time->sec ); in x509_date_is_valid()
505 CHECK_RANGE( 1, 31, time->day ); in x509_date_is_valid()
508 CHECK_RANGE( 1, 30, time->day ); in x509_date_is_valid()
511 CHECK_RANGE( 1, 28 + (time->year % 4 == 0), time->day ); in x509_date_is_valid()