1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/lib/vtls
Steve Holme 037cd0d991 vtls: Fixed compilation warning and an ignored return code
curl_schannel.h:123: warning: right-hand operand of comma expression
                     has no effect

Some instances of the curlssl_close_all() function were declared with a
void return type whilst others as int. The schannel version returned
CURLE_NOT_BUILT_IN and others simply returned zero, but in all cases the
return code was ignored by the calling function Curl_ssl_close_all().

For the time being and to keep the internal API consistent, changed all
declarations to use a void return type.

To reduce code we might want to consider removing the unimplemented
versions and use a void #define like schannel does.
2014-12-28 17:33:01 +00:00
..
axtls.c axtls: define curlssl_random using axTLS's PRNG 2014-07-31 01:12:38 +02:00
axtls.h ssl: generalize how the ssl backend identifier is set 2014-07-31 12:19:51 +02:00
curl_darwinssl.c darwinssl: Use 'CURLcode result' for curl result codes 2014-12-27 17:36:35 +00:00
curl_darwinssl.h vtls/*: deprecate have_curlssl_md5sum and set-up default md5sum implementation 2014-10-13 14:39:50 +02:00
curl_schannel.c vtls: Use bool for Curl_ssl_getsessionid() return type 2014-12-25 17:15:15 +00:00
curl_schannel.h vtls: Fixed compilation warning and an ignored return code 2014-12-28 17:33:01 +00:00
cyassl.c vtls: Use bool for Curl_ssl_getsessionid() return type 2014-12-25 17:15:15 +00:00
cyassl.h ssl: generalize how the ssl backend identifier is set 2014-07-31 12:19:51 +02:00
gskit.c vtls: Fixed compilation warning and an ignored return code 2014-12-28 17:33:01 +00:00
gskit.h vtls: Fixed compilation warning and an ignored return code 2014-12-28 17:33:01 +00:00
gtls.c vtls: Use bool for Curl_ssl_getsessionid() return type 2014-12-25 17:15:15 +00:00
gtls.h vtls/*: deprecate have_curlssl_md5sum and set-up default md5sum implementation 2014-10-13 14:39:50 +02:00
nss.c vtls: Fixed compilation warning and an ignored return code 2014-12-28 17:33:01 +00:00
nssg.h vtls: Fixed compilation warning and an ignored return code 2014-12-28 17:33:01 +00:00
openssl.c vtls: Fixed compilation warning and an ignored return code 2014-12-28 17:33:01 +00:00
openssl.h vtls: Fixed compilation warning and an ignored return code 2014-12-28 17:33:01 +00:00
polarssl_threadlock.c vtls: moved all TLS/SSL source and header files into subdir 2013-12-20 17:12:42 +01:00
polarssl_threadlock.h vtls: moved all TLS/SSL source and header files into subdir 2013-12-20 17:12:42 +01:00
polarssl.c polarssl: Use 'CURLcode result' for curl result codes 2014-12-27 17:30:51 +00:00
polarssl.h curlssl: make tls backend symbols use curlssl in the name 2014-09-13 15:31:12 +02:00
vtls.c vtls: Don't set cert info count until memory allocation is successful 2014-12-26 13:11:43 +00:00
vtls.h vtls: Use CURLcode for Curl_ssl_init_certinfo() return type 2014-12-26 13:11:40 +00:00