Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Do not rely upon malloc(0) not returning NULL. Not all malloc implementations | miod | 2015-02-11 | 1 | -6/+10 | |
| | | | | | | have this property. Instead, skip the malloc and memcmp if their size is zero. Per bcook@ request in order to run on AIX | |||||
* | Add regress tests for SSL_CIPHER_get_by_value() and SSL_CIPHER_get_by_id(). | jsing | 2015-02-07 | 1 | -1/+61 | |
| | ||||||
* | SIZE_MAX is standard, we should be using it in preference to the | millert | 2015-02-06 | 1 | -5/+3 | |
| | | | | obsolete SIZE_T_MAX. OK miod@ beck@ | |||||
* | KNF bytestring files. | doug | 2015-02-06 | 1 | -582/+596 | |
| | | | | | | | | I checked that this doesn't change anything. Compiled with clang using -Wno-pointer-sign -g0 to reduce the differences. Only difference in the asm is due to assert(0) line number changes in bs_cbs.c and bs_cbb.c. miod is ok with the general process. | |||||
* | Import BoringSSL's crypto bytestring and crypto bytebuilder APIs. | doug | 2015-02-06 | 3 | -1/+671 | |
| | | | | | | | | | | | | | | This is imported with as few changes as possible for the initial commit. I removed OPENSSL_EXPORT, replaced OPENSSL_malloc() etc with malloc() and changed a few header includes. BoringSSL has this as part of their public API. We're leaving it internal to libssl for now. Based on BoringSSL's CBB/CBS API as of commit c5cc15b4f5b1d6e9b9112cb8d30205a638aa2c54. input + ok jsing@, miod@ | |||||
* | Add libssl ciphers regress, which currently only covers | jsing | 2015-02-06 | 3 | -1/+130 | |
| | | | | get_cipher_by_char/put_cipher_by_char. | |||||
* | Make it obvious which openssl test complained and whether it was expected. | doug | 2015-01-22 | 1 | -2/+5 | |
| | | | | ok bcook@ | |||||
* | Missing $OpenBSD$'s. | krw | 2015-01-20 | 5 | -0/+5 | |
| | | | | ok deraadt@ | |||||
* | Add regress tests for default option handling. | jsing | 2014-12-28 | 1 | -1/+48 | |
| | ||||||
* | Add regress tests for multiple argument callback functions. | jsing | 2014-12-28 | 1 | -1/+38 | |
| | ||||||
* | Add option parsing regress tests with end of options handling. | jsing | 2014-12-28 | 1 | -17/+50 | |
| | ||||||
* | Add regress tests for option parsing with multiple unnamed arguments. | jsing | 2014-12-28 | 1 | -3/+45 | |
| | ||||||
* | Update regress to match change in unnamed argument handling. | jsing | 2014-12-28 | 1 | -6/+5 | |
| | ||||||
* | Update options regress to match option function pointer change. | jsing | 2014-12-28 | 1 | -4/+4 | |
| | ||||||
* | Provide initial regress tests for the complex option parsing that is needed | jsing | 2014-12-28 | 3 | -1/+239 | |
| | | | | | for openssl(1), which is also variable in behaviour between applications (and currently inconsistent). | |||||
* | Move 40MB of .rodata and 40MB of stack to .bss; allows this test to run on | miod | 2014-12-15 | 1 | -3/+7 | |
| | | | | platforms with small MAXTSIZ or MAXSSIZ. | |||||
* | unifdef OPENSSL_NO_NEXTPROTONEG | jsing | 2014-12-14 | 1 | -12/+0 | |
| | ||||||
* | Increase cipher suite test coverage by including all cipher suites that | jsing | 2014-12-12 | 1 | -5/+5 | |
| | | | | use RSA authentication, rather than only those that use RSA key exchange. | |||||
* | Add regress for ALPN. | jsing | 2014-12-10 | 2 | -1/+180 | |
| | | | | Based on OpenSSL. | |||||
* | fix previous. | daniel | 2014-12-10 | 1 | -2/+4 | |
| | ||||||
* | t_exhaust is too exhausting | deraadt | 2014-12-09 | 1 | -3/+3 | |
| | ||||||
* | remove duplicate initialization of .sid_ctx in test | bcook | 2014-12-07 | 1 | -3/+1 | |
| | ||||||
* | Allow specific libtls hostname validation errors to propagate. | bcook | 2014-12-07 | 1 | -3/+7 | |
| | | | | | | | | Remove direct calls to printf from the tls_check_hostname() path. This allows NUL byte error messages to bubble up to the caller, to be logged in a program-appropriate way. It also removes non-portable calls to getprogname(). ok jsing@ | |||||
* | The -ssl2 flag does nothing - remove the flag and any tests that were | jsing | 2014-12-06 | 2 | -34/+4 | |
| | | | | using it. | |||||
* | Allow overriding the path to the testssl and openssl binaries. | bcook | 2014-12-03 | 1 | -9/+9 | |
| | | | | | | | This is needed by the portable tree to point directly to the newly-built binaries when running unit tests. discussed with jsing@ and others | |||||
* | Fill the buffer with 'z' instead of 'a' since 'a' is part of the | millert | 2014-12-03 | 2 | -38/+150 | |
| | | | | | | | string we are testing. Add tests to verify that we get SIGSEGV when passed a NULL src or dst. It is better to crash than for an implementation to check for NULL and try to recover. | |||||
* | Add simple strlcpy regress | millert | 2014-12-02 | 3 | -3/+123 | |
| | ||||||
* | Add simple strlcat regress | millert | 2014-12-02 | 3 | -2/+124 | |
| | ||||||
* | Add strnlen to SUBDIRS so we actually run its tests. | millert | 2014-12-02 | 1 | -2/+2 | |
| | ||||||
* | prefer memcmp to bcmp. | bcook | 2014-11-26 | 1 | -2/+2 | |
| | | | | ok tedu@ miod@ deraadt@ | |||||
* | GOST regression tests; from Dmitry Eremin-Solenikov | miod | 2014-11-18 | 3 | -1/+18 | |
| | ||||||
* | GOST tests, not connected to the build yet. | miod | 2014-11-09 | 2 | -0/+1464 | |
| | ||||||
* | Initial regress for libtls hostname verification. | jsing | 2014-11-01 | 3 | -2/+247 | |
| | ||||||
* | Update regress for the libressl to libtls rename. | jsing | 2014-10-31 | 4 | -0/+288 | |
| | ||||||
* | #undef LIBRESSL_INTERNAL for the RAND_pseudo_bytes() test. | jsing | 2014-10-22 | 1 | -0/+2 | |
| | ||||||
* | Use arc4random_buf() instead of RAND_bytes() or RAND_pseudo_bytes() (most | jsing | 2014-10-22 | 4 | -21/+15 | |
| | | | | with unchecked return values). | |||||
* | None of these need <openssl/rand.h> | jsing | 2014-10-22 | 5 | -5/+0 | |
| | ||||||
* | Remove _XOPEN_SOURCE_EXTENDED since we're not too concerned about | jsing | 2014-10-13 | 1 | -9/+2 | |
| | | | | gethostname being declared properly on Compaq platforms that use DEC C... | |||||
* | BIO_free() and SSL_CTX_free() have explicit NULL checks, so there is no | jsing | 2014-10-13 | 1 | -29/+16 | |
| | | | | need to have additional checks here. | |||||
* | Add NPN regress tests from OpenSSL. However, unlike OpenSSL, actually exit | jsing | 2014-10-13 | 2 | -3/+146 | |
| | | | | with a failure if the NPN verification fails. | |||||
* | Fix mmap() calls that check for a result other than MAP_FAILED. | doug | 2014-09-27 | 1 | -1/+1 | |
| | | | | ok tedu@ | |||||
* | Add support for word anchors \< and \> to regex regression tests. | doug | 2014-09-21 | 1 | -1/+13 | |
| | | | | These are copied from the existing [[:<:]] and [[:>:]] tests. | |||||
* | Fix on 32bit platforms where 0xdeadbeef > LONG_MAX. | schwarze | 2014-09-19 | 1 | -4/+6 | |
| | | | | | | | To avoid making tests machine dependent, only test values inside 32bit LONG_{MIN,MAX} and outside 64bit LONG_{MIN,MAX}, but none in between. While here, cover 32bit edge cases, negative values, and overflows. ok jsing@ | |||||
* | Update regress to follow openssl(1) move. | jsing | 2014-08-26 | 9 | -2/+244 | |
| | ||||||
* | replace sprintf/strdup with asprintf in engine test | bcook | 2014-08-16 | 1 | -8/+5 | |
| | ||||||
* | use C rather than C++ array initialization syntax | bcook | 2014-08-16 | 1 | -37/+37 | |
| | | | | this causes errors with stricter C compilers | |||||
* | AF_IMPLINK and AF_BLUETOOTH are gone, but add printing of SOCK_SEQPACKET | guenther | 2014-08-10 | 1 | -6/+5 | |
| | ||||||
* | remove non-portable __progname extern from arc4random unit test. | bcook | 2014-07-28 | 1 | -2/+1 | |
| | | | | ok @deraadt | |||||
* | Switch from <sys/endian.h> or <machine/endian.h> to the new, | guenther | 2014-07-21 | 1 | -2/+2 | |
| | | | | | | being-standardized <endian.h> ok deraadt@ millert@ beck@ | |||||
* | Fix ordering breakage, moving the fclose() test last again. | guenther | 2014-07-20 | 1 | -6/+22 | |
| | | | | | | Also correct some format strings. From Doug Hogan (doug (at) acyclic.org) |