2
0
mirror of https://github.com/curl/curl.git synced 2025-03-25 15:50:32 +08:00
Johannes Schindelin 9194a9959b
SSL: Avoid magic allocation of SSL backend specific data
Originally, my idea was to allocate the two structures (or more
precisely, the connectdata structure and the four SSL backend-specific
strucutres required for ssl[0..1] and proxy_ssl[0..1]) in one go, so
that they all could be free()d together.

However, getting the alignment right is tricky. Too tricky.

So let's just bite the bullet and allocate the SSL backend-specific
data separately.

As a consequence, we now have to be very careful to release the memory
allocated for the SSL backend-specific data whenever we release any
connectdata.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>

Closes 
2017-12-01 10:28:31 +01:00
..
2017-11-27 19:39:09 +01:00
2016-10-18 13:59:54 +02:00
2017-08-23 03:17:10 -04:00
2017-10-31 09:16:03 +01:00
2017-09-18 22:55:50 +02:00
2017-03-26 23:56:23 +02:00
2017-07-28 16:41:29 +02:00
2017-09-11 09:29:50 +02:00
2017-10-25 18:48:05 +02:00
2017-04-22 11:25:27 +02:00
2017-04-22 11:25:27 +02:00
2017-09-12 09:50:24 +02:00
2017-04-22 11:25:27 +02:00
2017-03-26 23:56:23 +02:00
2017-06-18 23:57:45 +02:00
2016-12-21 11:07:26 +01:00
2017-09-11 09:29:50 +02:00
2017-08-23 23:58:49 +02:00
2017-10-15 15:59:43 +00:00
2017-04-22 11:25:27 +02:00
2017-03-26 23:56:23 +02:00
2017-06-21 07:46:21 +02:00
2017-06-08 10:50:47 +02:00
2017-09-02 17:47:10 +01:00
2017-03-13 23:11:45 +01:00
2017-03-26 23:56:23 +02:00
2017-10-25 18:48:05 +02:00
2017-10-25 18:48:05 +02:00
2017-06-30 10:17:27 +02:00
2017-10-25 18:48:05 +02:00
2017-10-25 18:48:05 +02:00
2017-06-30 10:17:27 +02:00
2017-10-30 16:40:28 +01:00
2017-11-13 08:27:36 +01:00
2017-10-25 18:48:05 +02:00
2017-11-25 22:52:36 +01:00
2017-09-11 09:29:50 +02:00
2017-03-26 23:56:23 +02:00
2017-10-25 18:48:05 +02:00
2017-10-30 15:27:46 +01:00