1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 22:45:03 -05:00
curl/lib/vtls
Daniel Gustafsson 94400f32e9 all: Refactor malloc+memset to use calloc
When a zeroed out allocation is required, use calloc() rather than
malloc() followed by an explicit memset(). The result will be the
same, but using calloc() everywhere increases consistency in the
codebase and avoids the risk of subtle bugs when code is injected
between malloc and memset by accident.

Closes https://github.com/curl/curl/pull/2497
2018-04-15 03:00:37 -04:00
..
axtls.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
axtls.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
cyassl.c tls: fix mbedTLS 2.7.0 build + handle sha256 failures 2018-04-06 14:21:50 +02:00
cyassl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
darwinssl.c tls: fix mbedTLS 2.7.0 build + handle sha256 failures 2018-04-06 14:21:50 +02:00
darwinssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
gskit.c GSKit: restore pinnedpubkey functionality 2018-01-25 23:16:14 +01:00
gskit.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
gtls.c build: cleanup to fix clang warnings/errors 2018-04-08 13:59:30 +02:00
gtls.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
mbedtls.c tls: fix mbedTLS 2.7.0 build + handle sha256 failures 2018-04-06 14:21:50 +02:00
mbedtls.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
nss.c tls: fix mbedTLS 2.7.0 build + handle sha256 failures 2018-04-06 14:21:50 +02:00
nssg.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
openssl.c Revert "openssl: Don't add verify locations when verifypeer==0" 2018-04-06 14:25:00 +02:00
openssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
polarssl_threadlock.c code style: use spaces around equals signs 2017-09-11 09:29:50 +02:00
polarssl_threadlock.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
polarssl.c all: Refactor malloc+memset to use calloc 2018-04-15 03:00:37 -04:00
polarssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
schannel.c all: Refactor malloc+memset to use calloc 2018-04-15 03:00:37 -04:00
schannel.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
vtls.c tls: fix mbedTLS 2.7.0 build + handle sha256 failures 2018-04-06 14:21:50 +02:00
vtls.h tls: fix mbedTLS 2.7.0 build + handle sha256 failures 2018-04-06 14:21:50 +02:00