Improve leap year test names in x509parse.data

This commit is contained in:
Andres Amaya Garcia 2017-10-06 17:05:24 +01:00 committed by Simon Butcher
parent 7c02d13746
commit 8a6ba0b495

View file

@ -1547,15 +1547,15 @@ X509 Get time (UTC invalid sec)
depends_on:POLARSSL_X509_USE_C
x509_get_time:ASN1_UTC_TIME:"001130235960Z":POLARSSL_ERR_X509_INVALID_DATE:0:0:0:0:0:0
X509 Get time (Generalized Time invalid leap year multiple of 4 and 100)
X509 Get time (Generalized Time, year multiple of 100 but not 400 is not a leap year)
depends_on:POLARSSL_X509_USE_C
x509_get_time:ASN1_GENERALIZED_TIME:"19000229000000Z":POLARSSL_ERR_X509_INVALID_DATE:0:0:0:0:0:0
X509 Get time (Generalized Time year multiple of 4 and not multiple of 100)
X509 Get time (Generalized Time, year multiple of 4 but not 100 is a leap year)
depends_on:POLARSSL_X509_USE_C
x509_get_time:ASN1_GENERALIZED_TIME:"19920229000000Z":0:1992:2:29:0:0:0
X509 Get time (Generalized Time year multiple of 400)
X509 Get time (Generalized Time, year multiple of 400 is a leap year)
depends_on:POLARSSL_X509_USE_C
x509_get_time:ASN1_GENERALIZED_TIME:"20000229000000Z":0:2000:2:29:0:0:0