Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use ASN1_TYPE_new()/ASN1_TYPE_free() to avoid leaking memory. | jsing | 2018-11-08 | 1 | -12/+17 |
| | | | | From Ben L <bobsayshilol at live dot co dot uk>. | ||||
* | Instead of enumerating the files to clean by hand, set PROGS=${TESTS}. | tb | 2018-08-31 | 1 | -3/+3 |
| | | | | Suggested by jsing | ||||
* | Make sure to clean up the .d files with 'make clean' | tb | 2018-08-30 | 1 | -2/+2 |
| | |||||
* | Use a test value that fits into a long on both 32-bit and 64-bit | jsing | 2017-12-09 | 1 | -9/+11 |
| | | | | architectures, so that the regress passes on both. | ||||
* | Add regress coverage for ASN1_TYPE_{get,set}_int_octetstring() | jsing | 2017-11-28 | 2 | -2/+147 |
| | |||||
* | initialize pointer to avoid undefined free on failure | bcook | 2015-12-28 | 1 | -2/+2 |
| | | | | ok beck@ | ||||
* | Add explicit LL suffixes to the numerical constants which do not fit in 32 bits. | miod | 2015-10-30 | 1 | -8/+8 |
| | |||||
* | Missing initializer; spotted by coverity. | miod | 2015-10-25 | 1 | -2/+2 |
| | |||||
* | Extend tests to call ASN1_{GENERALIZED,UTC,}TIME_set_string() with a NULL | jsing | 2015-10-22 | 1 | -1/+19 |
| | | | | | | | pointer - because, you know, you might want to set a string on a NULL object. The previous implementation apparently allowed this as a way of testing if the string was valid... probably because the *_check() functions are only useable after the string has already been set. | ||||
* | Fix case where we wanted to test ASN1_TIME_set_string() but were testing | jsing | 2015-10-22 | 2 | -6/+6 |
| | | | | ASN1_UTCTIME_set_string() twice instead. | ||||
* | Change regress to not believe legacy times are valid | beck | 2015-10-19 | 1 | -65/+4 |
| | |||||
* | Add another invalid time, which is currently accepted. | jsing | 2015-10-02 | 1 | -1/+4 |
| | |||||
* | Fix a bug in the regress, and be much more pedantic about what is allowed | beck | 2015-09-30 | 1 | -22/+46 |
| | | | | | | | 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.. | ||||
* | Add an rfc5280 test suite to test x509_cmp_time. | beck | 2015-09-29 | 2 | -2/+362 |
| | | | | | | Note some of these will yet fail with the current libcrypto as the current X509_cmp_time is not RFC5280 compliant ok jsing@ | ||||
* | Add DER encoding/decoding coverage for ASN.1 GENERALIZEDTIME and UTCTIME. | jsing | 2015-09-25 | 1 | -39/+158 |
| | |||||
* | Add initial regress tests for ASN.1 times. | jsing | 2015-09-25 | 2 | -0/+370 |