summaryrefslogtreecommitdiff
path: root/src/regress/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* missing includeeric2017-03-091-1/+2
|
* Add a test that covers a libtls client talking to a Go TLS server withjsing2017-03-071-5/+107
| | | | | varying minimum and maximum protocol versions. This gives us protocol version test coverage against an independent TLS stack.
* Allow ciphers to be set on the TLS config.jsing2017-03-071-0/+10
|
* Provide support for libtls protocols and allow for protocols to be set onjsing2017-03-071-3/+47
| | | | | a TLS config. The ConnVersion function now also returns a protocol version instead of a string.
* Add handling for errors on the TLS config and properly check/handlejsing2017-03-072-6/+23
| | | | failures when setting the CA file.
* libtls errors are much more descriptive these days - return them directlyjsing2017-03-071-9/+8
| | | | and avoid adding redundant/duplicate information.
* We no longer need to keep pointers following tls_config_set_*() calls.jsing2017-03-071-6/+3
|
* Use an unsigned loop variable to avoid a comparison between signedbluhm2017-03-061-1/+1
| | | | | and unsigned. Makes the test compile again. OK inoguchi@
* Add an initial regress test that covers the server-side of libssl, byjsing2017-03-053-1/+220
| | | | providing SSL_accept() with fixed ClientHello messages.
* Treat "ERROR in STARTUP" as an actual error, rather than failing withoutjsing2017-03-041-2/+2
| | | | | | | exiting non-zero (which has been masking a DTLS related issue). Also make the message consistent with other errors. Spotted by inogochi@
* Remove commented out code and fix indentation of surrounding statements.jsing2017-03-041-12/+5
|
* Remove handling for SSLv2.jsing2017-03-041-14/+3
|
* Ensure MD and key initialized before processing HMACinoguchi2017-03-031-31/+206
| | | | | | | | Ensure both MD and key have been initialized before processing HMAC. Releasing HMAC_CTX in error path of HMAC(). In regress test, added test 4,5,6 and cleaned up the code. ok jsing@
* Add EVP test for MD5-SHA1.jsing2017-03-011-0/+3
|
* Add missing includes to avoid implicit function declarations.jsg2017-02-254-3/+7
|
* Check return value of every BN_* functions in bntestinoguchi2017-02-231-393/+426
| | | | | | | - add macro CHECK_GOTO - unify function return code to rc - add err: label for error goto ok bcook@
* Remove unused variable in C source to make the test compile and pass.bluhm2017-02-071-1/+0
|
* LibreSSL : regress for carry bug in mulx4x_mont and sqr8x_montinoguchi2017-01-311-1/+78
| | | | | | | | | | | | This regress bntest.c patch is originally from master branch of OpenSSL. - dca2e0e test/bntest.c: regression test for CVE-2016-7055. - 3e7a496 test/bntest.c: regression test for carry bug in bn_sqr8x_internal. These tests were added for these commit. - 2fac86d bn/asm/x86_64-mont.pl: fix for CVE-2016-7055 (Low severity). - 3f4bcf5 bn/asm/x86_64-mont5.pl: fix carry bug in bn_sqr8x_internal. ok beck@
* Update ssl versions regress to handle min/max configured versions andjsing2017-01-251-47/+201
| | | | the cover the ssl_supported_version_range() function.
* Add start of a regress for cert gen and validation. not clean, won'tbeck2017-01-255-0/+394
| | | | hook it up yet
* link in rsa testbeck2017-01-251-1/+2
|
* Add rsa test from openssl, since it has a license nowbeck2017-01-252-0/+344
|
* fix make clean and warningsotto2017-01-242-1/+3
|
* make sure realloc preserves dataotto2017-01-241-17/+45
|
* use ${.OBJDIR}otto2017-01-241-8/+8
|
* Update client tests for changes in default EC formats/curves.jsing2017-01-241-52/+31
|
* Use prime256v1 for tests unless otherwise specified.jsing2017-01-241-4/+0
|
* hook malloc_general to the testsotto2017-01-231-2/+2
|
* test malloc/realloc/free with some flag combo'sotto2017-01-232-0/+122
|
* Fix regress to handle movement of ssl structures to internalbeck2017-01-231-2/+4
|
* Update the TLS ALPN unit tests to work with internal/opaque data.jsing2017-01-222-13/+11
|
* Make explicit _ct and _nonct versions of bn_mod_exp funcitons thatbeck2017-01-215-8/+143
| | | | | | | | | | | | matter for constant time, and make the public interface only used external to the library. This moves us to a model where the important things are constant time versions unless you ask for them not to be, rather than the opposite. I'll continue with this method by method. Add regress tests for same. ok jsing@
* unhook ocsp test from the default since it currently requires network access andbeck2017-01-181-2/+1
| | | | therefore appears to break in bluhm's test setup
* Correctly tls_config_set_ca_file() return value (no effective change).jsing2017-01-171-2/+2
| | | | Spotted by inoguchi@
* Add regress tests for libtls, which currently cover handshakes and closesjsing2017-01-123-1/+356
| | | | using callbacks, file descriptors and sockets.
* Provide TLS_INT for consistency with libssl/libcrypto.jsing2017-01-092-2/+4
|
* Add regress tests for max shared version code.jsing2017-01-031-2/+133
|
* Add regress coverage for enabled protocol version range.jsing2016-12-302-1/+146
|
* Extend regress to include a peer certificate in the session.jsing2016-12-261-58/+134
|
* Ensure that after an i2d_SSL_SESSION() call, the passed pointer now pointsjsing2016-12-261-8/+9
| | | | to the end of the buffer.
* Update regress for ECDHE with X25519.jsing2016-12-211-41/+41
|
* Update libcrypto regress to handle header and non-exported symbol changes.jsing2016-12-214-4/+10
|
* Ensure negative time/timeout are handled appropriately.jsing2016-12-211-1/+27
|
* Revise regress for changes to ssl_parse_serverhello_tlsext().jsing2016-12-181-3/+3
| | | | Same diff from inoguchi@
* Update regress test to handle change to ssl_cipher_list_to_bytes().jsing2016-12-041-10/+11
|
* Update regress for IDEA cipher suite removal.jsing2016-11-061-83/+83
|
* Add regress for X25519, converted from BoringSSL.jsing2016-11-053-1/+150
|
* Set PROG so that the binary correctly gets recompiled when the librariesmiod2016-11-051-11/+5
| | | | | | it is linked against change. ok beck@ jsing@
* Move pqueue regress from libcrypto to libssl, since that's where the pqueuejsing2016-11-045-5/+5
| | | | | code now lives. Also unbreak the regress following the symbol hiding changes in libssl.
* Some tests require internal symbols; have them link with the staticguenther2016-11-044-8/+10
| | | | | | | libssl or libtls so they can continue to see them after the shared library namespace is cleaned up ok jsing@