summaryrefslogtreecommitdiff
path: root/regress/lib/libtls
AgeCommit message (Collapse)Author
2018-04-07Revise regress to match tls_keypair_clear() removal.Joel Sing
2018-03-19Remove the now unnecessary tls_init() call.Joel Sing
2018-03-15Fix a format string issue that Go 1.10 complains about.Joel Sing
2018-02-14Update keypair regress to match revised keypair hash handling.Joel Sing
Apparently I failed to commit this when I committed the libtls change...
2018-02-08Update regress to match change to tls_keypair_pubkey_hash().Joel Sing
2018-02-08Add a regress test that covers libtls keypairs.Joel Sing
2018-02-08Tweak compiler flags to include -DLIBRESSL_INTERNAL and make more warningsJoel Sing
fatal.
2017-12-09Add a regress test for tls_config_parse_protocols().Joel Sing
2017-05-07Add a (currently failing) call to tls_handshake() on a client context thatJoel Sing
has not yet been connected. We expect this to fail, but it should fail gracefully.
2017-05-07Also test calling tls_handshake() on a server connection context that hasJoel Sing
already completed a TLS handshake.
2017-05-07Add a test that calls tls_handshake() on a connection that has alreadyJoel Sing
completed a TLS handshake. This should return a failure, but currently succeeds (hence the regress currently fails).
2017-05-07An an initial sequencing/ordering test for libtls.Joel Sing
2017-05-06Split TLS client/server handshake and close code into separate functionsJoel Sing
so that it can be reused.
2017-05-06Move TLS test code into a function that is called from main, making itJoel Sing
easier for new tests to be added.
2017-05-06Free tls_configs earlier now that we have refcounting.Joel Sing
2017-04-30Add missing tls_init() and tls_free() calls.Joel Sing
2017-04-10Rework and significantly extend TLS name verification tests to matchJoel Sing
changes in libtls.
2017-04-09Improve unknown protocol version handling.Joel Sing
2017-04-07In ssl.h TLS 1.0 is called TLSv1. Adapt name in test to make it pass.Alexander Bluhm
OK jsing@
2017-03-07Add a test that covers a libtls client talking to a Go TLS server withJoel Sing
varying minimum and maximum protocol versions. This gives us protocol version test coverage against an independent TLS stack.
2017-03-07Allow ciphers to be set on the TLS config.Joel Sing
2017-03-07Provide support for libtls protocols and allow for protocols to be set onJoel Sing
a TLS config. The ConnVersion function now also returns a protocol version instead of a string.
2017-03-07Add handling for errors on the TLS config and properly check/handleJoel Sing
failures when setting the CA file.
2017-03-07libtls errors are much more descriptive these days - return them directlyJoel Sing
and avoid adding redundant/duplicate information.
2017-03-07We no longer need to keep pointers following tls_config_set_*() calls.Joel Sing
2017-01-17Correctly tls_config_set_ca_file() return value (no effective change).Joel Sing
Spotted by inoguchi@
2017-01-12Add regress tests for libtls, which currently cover handshakes and closesJoel Sing
using callbacks, file descriptors and sockets.
2017-01-09Provide TLS_INT for consistency with libssl/libcrypto.Joel Sing
2016-11-04Some tests require internal symbols; have them link with the staticPhilip Guenther
libssl or libtls so they can continue to see them after the shared library namespace is cleaned up ok jsing@
2016-09-02Print SKIPPED if a regress test cannot be executed for some reason.Alexander Bluhm
This allows to identify such tests by looking at their output.
2015-10-13Single byte read/write tests.Joel Sing
2015-10-13Add test coverage for peer certificate info and connection info.Joel Sing
2015-10-13Make regress work again post hackathon tls_handshake/tls_read/tls_writeJoel Sing
changes.
2015-09-11regress test that we do not allow a wildcard match for ".openbsd.org"Bob Beck
against a wildcard of "*.openbsd.org"
2015-09-11fix verify to allow for servername->nameBob Beck
ok jsing@
2015-04-15Now that tls_close() is more robust, consider a failure to be fatal.Joel Sing
2015-02-22Update for recent verify related naming changes.Joel Sing
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-11-01Initial regress for libtls hostname verification.Joel Sing
2014-10-31Update regress for the libressl to libtls rename.Joel Sing