Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revise regress for ascii/text to ASN.1 object conversion rewrite. | jsing | 2022-03-19 | 1 | -58/+10 |
| | |||||
* | Add another invalid separator test case. | jsing | 2022-03-19 | 1 | -1/+5 |
| | |||||
* | Check BIO_reset() return value to make gcc happy. | tb | 2022-03-15 | 1 | -2/+5 |
| | |||||
* | Add test coverage for i2a_ASN1_OBJECT() | jsing | 2022-03-05 | 1 | -3/+39 |
| | |||||
* | Provide additional ASN1_OBJECT test coverage. | jsing | 2022-03-02 | 1 | -16/+114 |
| | |||||
* | Add regress coverage for ASN1_OBJECT public interfaces. | jsing | 2022-02-26 | 2 | -1/+399 |
| | |||||
* | Undo static linking and other workarounds that are no longer needed | tb | 2022-01-14 | 1 | -3/+2 |
| | | | | after the bump | ||||
* | Fix asn1x509 build with opaque structures. Link statically for now. | tb | 2022-01-12 | 2 | -20/+25 |
| | |||||
* | Rework Makefile to use regress framework and link asn1basic statically. | tb | 2022-01-12 | 2 | -14/+16 |
| | | | | | It will need this for testing {d2i,i2d}_ASN1_BOOLEAN which will be moved to internal-only in the upcoming bump. | ||||
* | Add regress tests for ASN1_BIT_STRING. | jsing | 2022-01-06 | 1 | -2/+113 |
| | |||||
* | Print the name of the test before we run it. | jsing | 2021-12-24 | 1 | -1/+2 |
| | |||||
* | fix typo: boolean true should decode to 1, not 0 | tb | 2021-12-23 | 1 | -2/+2 |
| | |||||
* | Add regress coverage for ASN1_get_object() | jsing | 2021-12-14 | 1 | -1/+262 |
| | |||||
* | Add regress for ASN1_tag2bit() and ASN1_tag2str() | jsing | 2021-12-14 | 2 | -1/+135 |
| | |||||
* | Merge two bugfixes in ASN1_STRING_TABLE_add(3) and ASN1_STRING_TABLE_get(3) | schwarze | 2021-12-11 | 2 | -2/+131 |
| | | | | | | | | | | | | | | | | | | | | | | from the OpenSSL 1.1.1 branch, which is still under a free license, mostly this commit: commit d35c0ff30b31be9fd5dcf3d552a16feb8de464bc Author: Dr. Stephen Henson <steve@openssl.org> Date: Fri Oct 19 15:06:31 2012 +0000 fix ASN1_STRING_TABLE_add so it can override existing string table values This fixes a segfault in ASN1_STRING_TABLE_add(3), which tried to change a static const entry when called with an nid already in the default table, and it switches the precedence of the two tables in ASN1_STRING_TABLE_get(3). In addition, it changes behaviour in the following minor ways: * Ignore negative minsize and maxsize arguments, not just -1. * Ignore a zero mask and zero flags. It's unclear whether these additional changes make the API absolutely better, but we want compatibility with OpenSSL in these functions. Tweaks & OK tb@. | ||||
* | Fix missing return in asn1_compare_bytes() | jsing | 2021-12-09 | 1 | -1/+2 |
| | |||||
* | Add initial tests for coverage of ASN.1 complex/constructed types. | jsing | 2021-12-09 | 2 | -1/+228 |
| | |||||
* | Add initial tests for coverage of ASN.1 basic/primitive types. | jsing | 2021-12-09 | 2 | -1/+135 |
| | |||||
* | Add regress for {d2i,i2d}_{,DSA_,EC_,RSA_}PUBKEY{,_bio}(). | jsing | 2021-11-30 | 2 | -1/+570 |
| | |||||
* | Test ASN1_STRING_copy(3). | schwarze | 2021-11-13 | 2 | -1/+121 |
| | | | | | | As a side effect, this also tests various aspects of ASN1_STRING_new(3), ASN1_STRING_set(3), ASN1_STRING_length_set(3), ASN1_STRING_get0_data(3), ASN1_STRING_length(3), and ASN1_STRING_type(3). | ||||
* | spaces -> tabs | tb | 2021-04-06 | 1 | -5/+5 |
| | |||||
* | 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 |