{"push_id":1051869255,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"453dfd8d5ee0893146e0fb61a5978ab59ba95c01","before":"173f613b6a9029f34454b642ee4f3db6c6566fcb","commits":[{"sha":"453dfd8d5ee0893146e0fb61a5978ab59ba95c01","author":{"email":"6521fc25e7624eef7c3a0d89b71de7e612d27d37@openssl.org","name":"Emilia Kasper"},"message":"New SSL test framework\n\nCurrently, SSL tests are configured via command-line switches to\nssltest.c. This results in a lot of duplication between ssltest.c and\napps, and a complex setup. ssltest.c is also simply old and needs\nmaintenance.\n\nInstead, we already have a way to configure SSL servers and clients, so\nwe leverage that. SSL tests can now be configured from a configuration\nfile. Test servers and clients are configured using the standard\nssl_conf module. Additional test settings are configured via a test\nconfiguration.\n\nMoreover, since the CONF language involves unnecessary boilerplate, the\ntest conf itself is generated from a shorter Perl syntax.\n\nThe generated testcase files are checked in to the repo to make\nit easier to verify that the intended test cases are in fact run; and to\nsimplify debugging failures.\n\nTo demonstrate the approach, min/max protocol tests are converted to the\nnew format. This change also fixes MinProtocol and MaxProtocol\nhandling. It was previously requested that an SSL_CTX have both the\nserver and client flags set for these commands; this clearly can never work.\n\nGuide to this PR:\n - test/ssl_test.c - test framework\n - test/ssl_test_ctx.* - test configuration structure\n - test/handshake_helper.* - new SSL test handshaking code\n - test/ssl-tests/ - test configurations\n - test/generate_ssl_tests.pl - script for generating CONF-style test\n   configurations from perl inputs\n\nReviewed-by: Richard Levitte <levitte@openssl.org>","distinct":true,"url":"https://api.github.com/repos/rhuijben/openssl/commits/453dfd8d5ee0893146e0fb61a5978ab59ba95c01"}]}