Pauli 1b3e2bbf64 Add a reserve call to the stack data structure.
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 <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4386)
2017-09-28 06:53:40 +10:00
..
2017-07-03 10:40:33 -04:00
2017-04-25 11:13:39 +01:00
2017-07-03 10:40:33 -04:00
2017-08-01 09:30:11 +10:00
2017-08-01 09:30:11 +10:00
2017-03-12 08:27:30 -04:00
2017-03-20 16:25:22 -04:00
2017-03-11 08:56:44 -05:00
2017-08-23 17:33:27 -04:00
2017-03-11 08:56:44 -05:00
2017-04-07 13:48:19 -04:00
2017-07-05 12:53:28 -05:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-07-03 19:26:56 -04:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-07-03 10:40:33 -04:00
2017-03-11 08:56:44 -05:00
2017-08-01 09:30:11 +10:00
2016-11-11 13:06:43 +01:00
2017-08-01 09:30:11 +10:00
2017-03-11 08:56:44 -05:00
2017-08-01 09:30:11 +10:00
2017-08-23 23:54:51 +01:00
2017-09-14 14:19:30 +08:00
2017-08-01 09:30:11 +10:00
2017-09-02 09:35:50 -04:00
2017-08-01 09:30:11 +10:00
2017-07-03 10:40:33 -04:00
2017-08-01 09:30:11 +10:00
2017-05-08 21:17:28 +02:00
2017-07-03 10:40:33 -04:00
2017-06-11 16:21:33 -04:00
2017-07-12 11:09:39 -04:00
2017-07-22 14:00:07 -04:00
2017-08-01 09:30:11 +10:00
2017-03-11 08:56:44 -05:00
2017-08-11 10:16:33 -04:00
2017-07-03 10:40:33 -04:00
2017-03-29 07:18:57 +02:00
2017-03-30 14:18:11 +02:00
2017-03-29 07:14:29 +02:00
2017-07-03 10:40:33 -04:00
2017-06-11 16:21:33 -04:00
2017-04-25 22:12:35 +01:00
2017-07-03 10:40:33 -04:00