<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/test/stack_test.c, branch OpenSSL_1_1_1t</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_1_1t</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_1_1t'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2017-09-27T20:53:40Z</updated>
<entry>
<title>Add a reserve call to the stack data structure.</title>
<updated>2017-09-27T20:53:40Z</updated>
<author>
<name>Pauli</name>
<email>paul.dale@oracle.com</email>
</author>
<published>2017-08-17T00:10:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1b3e2bbf64b96f636277ca29b31ba152c1831e74'/>
<id>urn:sha1:1b3e2bbf64b96f636277ca29b31ba152c1831e74</id>
<content type='text'>
This allows the caller to guarantee that there is sufficient space for a
number of insertions without reallocation.

The expansion ratio when reallocating the array is reduced to 1.5 rather than 2.

Change bounds testing to use a single size rather than both INT_MAX and
SIZE_MAX.  This simplifies some of the tests.

Switch the stack pointers to data from char * to void *

Reviewed-by: Andy Polyakov &lt;appro@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/4386)
</content>
</entry>
<entry>
<title>Use "" not &lt;&gt; for internal/ includes</title>
<updated>2017-08-22T13:54:20Z</updated>
<author>
<name>Rich Salz</name>
<email>rsalz@openssl.org</email>
</author>
<published>2017-08-22T12:35:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=176db6dc51ec0a972bfa8836cfdab8f6767c978a'/>
<id>urn:sha1:176db6dc51ec0a972bfa8836cfdab8f6767c978a</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/4217)
</content>
</entry>
<entry>
<title>Remove tests dependence on e_os.h</title>
<updated>2017-08-17T23:50:25Z</updated>
<author>
<name>Pauli</name>
<email>paul.dale@oracle.com</email>
</author>
<published>2017-08-17T23:50:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=b99fe5f4927b305bae88daac2484c284fe749329'/>
<id>urn:sha1:b99fe5f4927b305bae88daac2484c284fe749329</id>
<content type='text'>
Apart from ssltest_old.c, the test suite relied on e_os.h for the
OSSL_NELEM macro and nothing else.

The ssltest_old.c also requires EXIT and some socket macros.

Create a new header to define the OSSL_NELEM macro and use that instead.

Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/4186)
</content>
</entry>
<entry>
<title>Update the test framework so that the need for test_main is removed.  Everything</title>
<updated>2017-07-26T21:53:08Z</updated>
<author>
<name>Pauli</name>
<email>paul.dale@oracle.com</email>
</author>
<published>2017-07-18T01:48:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=ad887416f1e59c3294a7d8f83a0ca77120523b4a'/>
<id>urn:sha1:ad887416f1e59c3294a7d8f83a0ca77120523b4a</id>
<content type='text'>
that needed test_main now works using the same infrastructure as tests that used
register_tests.

This meant:
* renaming register_tests to setup_tests and giving it a success/failure return.
* renaming the init_test function to setup_test_framework.
* renaming the finish_test function to pulldown_test_framework.
* adding a user provided global_init function that runs before the test frame
    work is initialised.  It returns a failure indication that stops the stest.
* adding helper functions that permit tests to access their command line args.
* spliting the BIO initialisation and finalisation out from the test setup and
    teardown.
* hiding some of the now test internal functions.
* fix the comments in testutil.h

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/3953)
</content>
</entry>
<entry>
<title>Correct Oracle copyrights &amp; clarify.</title>
<updated>2017-06-15T05:50:50Z</updated>
<author>
<name>Pauli</name>
<email>paul.dale@oracle.com</email>
</author>
<published>2017-06-15T03:34:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=5aba2b6e88d1d7fc921d2161af27a0835f966ea9'/>
<id>urn:sha1:5aba2b6e88d1d7fc921d2161af27a0835f966ea9</id>
<content type='text'>
Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/3684)</content>
</entry>
<entry>
<title>Fix a bundle of trailing spaces in several files</title>
<updated>2017-06-09T16:04:10Z</updated>
<author>
<name>Paul Yang</name>
<email>paulyang.inf@gmail.com</email>
</author>
<published>2017-06-06T15:35:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=bd91e3c870402c4b10909c47082daece473d22ef'/>
<id>urn:sha1:bd91e3c870402c4b10909c47082daece473d22ef</id>
<content type='text'>
Signed-off-by: Paul Yang &lt;paulyang.inf@gmail.com&gt;

Reviewed-by: Kurt Roeckx &lt;kurt@openssl.org&gt;
Reviewed-by: Ben Kaduk &lt;kaduk@mit.edu&gt;
Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/3622)</content>
</entry>
<entry>
<title>Adapt all test programs</title>
<updated>2017-04-24T16:09:01Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2017-04-18T14:47:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=a9c6d221055c3a85edb23b1364cd60baafed4b9f'/>
<id>urn:sha1:a9c6d221055c3a85edb23b1364cd60baafed4b9f</id>
<content type='text'>
Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/3243)
</content>
</entry>
<entry>
<title>Test infrastructure additions.</title>
<updated>2017-03-28T22:51:43Z</updated>
<author>
<name>Pauli</name>
<email>paul.dale@oracle.com</email>
</author>
<published>2017-03-22T04:27:55Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2fae041d6c507315a619e2f29bff86e44cc1d0a1'/>
<id>urn:sha1:2fae041d6c507315a619e2f29bff86e44cc1d0a1</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Emilia Käsper &lt;emilia@openssl.org&gt;
Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/3011)</content>
</entry>
<entry>
<title>Fix some undefined behaviour in stack test</title>
<updated>2017-03-17T10:09:46Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2017-03-16T17:32:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=3fb2c3e452c9adea24edf8b0b96f6325c0473ee9'/>
<id>urn:sha1:3fb2c3e452c9adea24edf8b0b96f6325c0473ee9</id>
<content type='text'>
At one point the stack was passing a pointer of the element *before* an
array which is undefined.

Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/2971)</content>
</entry>
<entry>
<title>Unit tests for crypto/stack.</title>
<updated>2017-03-15T13:15:08Z</updated>
<author>
<name>Pauli</name>
<email>paul.dale@oracle.com</email>
</author>
<published>2017-03-14T02:37:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=9837496142cf3a4d32c827cb679539c0b239cec9'/>
<id>urn:sha1:9837496142cf3a4d32c827cb679539c0b239cec9</id>
<content type='text'>
Reviewed-by: Andy Polyakov &lt;appro@openssl.org&gt;
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/2924)</content>
</entry>
</feed>
