#
72c7c57a |
| 08-Apr-2024 |
beck <beck@openbsd.org> |
Make ASN1_TIME_set_string_X509 and ASN1_TIME_set_string match the man page
This makes it where people can't put dumb values in certs without trying harder, and changes the regress to test this.
GEN
Make ASN1_TIME_set_string_X509 and ASN1_TIME_set_string match the man page
This makes it where people can't put dumb values in certs without trying harder, and changes the regress to test this.
GENERALIZED times outside of the RFC5280 spec are required for OCSP but these should be constructed with the GENERALIZED time string setters.
ok tb@
show more ...
|
#
7554eaec |
| 30-Sep-2015 |
beck <beck@openbsd.org> |
Fix a bug in the regress, and be much more pedantic about what is allowed per RFC 5380 in an X509. RFC 5280 states that all times before 2050 must be specified as a UTCtime, not a Generalized time, a
Fix a bug in the regress, and be much more pedantic about what is allowed per RFC 5380 in an X509. RFC 5280 states that all times before 2050 must be specified as a UTCtime, not a Generalized time, and all times after must be a UTC time. By extension this also means the smallest time allowed per RFC 5280 is 500101000000Z and the largest is 99991231235959Z..
show more ...
|