summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
2014-12-14unifdef OPENSSL_NO_NEXTPROTONEGJoel Sing
2014-12-12Increase cipher suite test coverage by including all cipher suites thatJoel Sing
use RSA authentication, rather than only those that use RSA key exchange.
2014-12-10Add regress for ALPN.Joel Sing
Based on OpenSSL.
2014-12-10fix previous.Daniel Dickman
2014-12-09t_exhaust is too exhaustingTheo de Raadt
2014-12-07remove duplicate initialization of .sid_ctx in testBrent Cook
2014-12-07Allow specific libtls hostname validation errors to propagate.Brent Cook
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@
2014-12-06The -ssl2 flag does nothing - remove the flag and any tests that wereJoel Sing
using it.
2014-12-03Allow overriding the path to the testssl and openssl binaries.Brent Cook
This is needed by the portable tree to point directly to the newly-built binaries when running unit tests. discussed with jsing@ and others
2014-12-03Fill the buffer with 'z' instead of 'a' since 'a' is part of theTodd C. Miller
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.
2014-12-02Add simple strlcpy regressTodd C. Miller
2014-12-02Add simple strlcat regressTodd C. Miller
2014-12-02Add strnlen to SUBDIRS so we actually run its tests.Todd C. Miller
2014-11-26prefer memcmp to bcmp.Brent Cook
ok tedu@ miod@ deraadt@
2014-11-23Add regress for atexit() vs DSO unloading and start on a similar testPhilip Guenther
for pthread_atfork()
2014-11-19Nuke yet more obvious #include duplications.Kenneth R Westerback
ok deraadt@
2014-11-18GOST regression tests; from Dmitry Eremin-SolenikovMiod Vallat
2014-11-16Delete a test which required behavior not defined by the specPhilip Guenther
(behavior of sigwait() when signal not blocked in all threads)
2014-11-09GOST tests, not connected to the build yet.Miod Vallat
2014-11-01Initial regress for libtls hostname verification.Joel Sing
2014-10-31Update regress for the libressl to libtls rename.Joel Sing
2014-10-22#undef LIBRESSL_INTERNAL for the RAND_pseudo_bytes() test.Joel Sing
2014-10-22Use arc4random_buf() instead of RAND_bytes() or RAND_pseudo_bytes() (mostJoel Sing
with unchecked return values).
2014-10-22None of these need <openssl/rand.h>Joel Sing
2014-10-13Remove _XOPEN_SOURCE_EXTENDED since we're not too concerned aboutJoel Sing
gethostname being declared properly on Compaq platforms that use DEC C...
2014-10-13BIO_free() and SSL_CTX_free() have explicit NULL checks, so there is noJoel Sing
need to have additional checks here.
2014-10-13Add NPN regress tests from OpenSSL. However, unlike OpenSSL, actually exitJoel Sing
with a failure if the NPN verification fails.
2014-09-28Make the goressl regress test compile again.Joel Sing
2014-09-27Fix mmap() calls that check for a result other than MAP_FAILED.Doug Hogan
ok tedu@
2014-09-21Add support for word anchors \< and \> to regex regression tests.Doug Hogan
These are copied from the existing [[:<:]] and [[:>:]] tests.
2014-09-19Fix on 32bit platforms where 0xdeadbeef > LONG_MAX.Ingo Schwarze
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@
2014-08-26Update regress to follow openssl(1) move.Joel Sing
2014-08-16replace sprintf/strdup with asprintf in engine testbcook
2014-08-16use C rather than C++ array initialization syntaxbcook
this causes errors with stricter C compilers
2014-08-10guenther wants a copyrightTed Unangst
2014-08-10AF_IMPLINK and AF_BLUETOOTH are gone, but add printing of SOCK_SEQPACKETPhilip Guenther
2014-08-10Only need <stdint.h> and not all of <inttypes.h> herePhilip Guenther
2014-08-10Only need <stdint.h> and not all of <inttypes.h> herePhilip Guenther
2014-07-28remove non-portable __progname extern from arc4random unit test.bcook
ok @deraadt
2014-07-21Switch from <sys/endian.h> or <machine/endian.h> to the new,Philip Guenther
being-standardized <endian.h> ok deraadt@ millert@ beck@
2014-07-20Fix ordering breakage, moving the fclose() test last again.Philip Guenther
Also correct some format strings. From Doug Hogan (doug (at) acyclic.org)
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org)
2014-07-20Delete unused variables found by -WallPhilip Guenther
2014-07-20Add missing include. Tickled by Doug Hogan (doug (at) acyclic.org)Philip Guenther
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-07-16Fix tlsext_tick_lifetime_hint value in test #2 to make sure theMiod Vallat
(tlsext_tick_lifetime_hint > 0) test also passes on 32-bit platforms (tlsext_tick_lifetime_hint is a long).
2014-07-14Hook in libressl to regress.Joel Sing
2014-07-14Sort SUBDIRs.Joel Sing
2014-07-14Update regress test to work with ressl API changes.Joel Sing
2014-07-13Add a regress test for the ASN1 handling of SSL session tickets.Joel Sing