History log of /openbsd-src/regress/lib/libcrypto/asn1/rfc5280time.c (Results 1 – 8 of 8)
Revision Date Author Comments
# 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 ...


# 898fc41d 05-Sep-2022 tb <tb@openbsd.org>

Two more missing long long casts


# 4a262ce0 05-Sep-2022 tb <tb@openbsd.org>

More long long casts for printing time_t


# 7bb1a6cf 05-Sep-2022 tb <tb@openbsd.org>

Convert from %i to %d


# 3221a44f 30-Oct-2015 miod <miod@openbsd.org>

Add explicit LL suffixes to the numerical constants which do not fit in 32 bits.


# 4ca414b6 22-Oct-2015 jsing <jsing@openbsd.org>

Fix case where we wanted to test ASN1_TIME_set_string() but were testing
ASN1_UTCTIME_set_string() twice instead.


# 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 ...


# 2a6a270c 29-Sep-2015 beck <beck@openbsd.org>

Add an rfc5280 test suite to test x509_cmp_time.
Note some of these will yet fail with the current libcrypto as the current
X509_cmp_time is not RFC5280 compliant
ok jsing@