Граф коммитов

2342 Коммитов

Автор SHA1 Сообщение Дата
Ewerton Scaboro da Silva 38323ad6cd Add log to verify when TLS negotiation is triggered 2023-05-03 09:51:11 -07:00
Valerie Avva Lim 456fe811e9
Merge pull request #624 from Azure/vaavva/sdl-uninit
SDL bugfixes (part 2)
2023-05-02 12:02:24 -07:00
Valerie Avva Lim 240f2a48db null protocols array as well as contents 2023-05-02 11:43:54 -07:00
Valerie Avva Lim 9aaa42dd45 sdl fixes 2023-05-01 16:32:56 -07:00
Valerie Avva Lim 887a223700
Merge pull request #617 from Azure/vaavva/sdl
SDL bugfixes
2023-04-24 10:53:54 -07:00
Valerie Avva Lim f9b1a7e3ce
Merge branch 'master' into vaavva/sdl 2023-04-21 17:44:56 -07:00
Eric Wolz 800018d5cb
support VS2022 (#618)
* support VS2022

* remove use_cppunittest
2023-04-21 17:22:43 -07:00
Valerie Avva Lim d1a67a06ad
Merge branch 'master' into vaavva/sdl 2023-04-21 15:23:19 -05:00
Valerie Avva Lim 44d5012fe1 sdl fixes 2023-04-18 16:25:44 -07:00
Eric Wolz e74886bbaf
added errno to berkeley socket open (#614)
* added errno to berkeley socket open
2023-03-31 19:12:47 -07:00
Eric Wolz 3a42f6d004
fix error messages in on_underlying_io_open_complete() (#612) 2023-03-20 14:12:53 -07:00
Ewerton Scaboro da Silva 48d43aae2a
Merge pull request #609 from Azure/ewertons/removembedossupport
Remove files related to MBED OS (not mbedtls!)
2023-02-08 21:54:18 -08:00
Ewerton Scaboro da Silva ff03e8139a Remove cleanup and component detection in build (leftover) 2023-02-08 16:13:21 -08:00
Ewerton Scaboro da Silva ebf68622e2 Remove cleanup and component governance for container-based builds 2023-02-08 13:47:58 -08:00
Ewerton Scaboro da Silva 1ed8688b09 Reorder component detection tasks 2023-02-08 12:59:41 -08:00
Ewerton Scaboro da Silva fcfae34d3f Test component detection order 2023-02-08 12:42:27 -08:00
Ewerton Scaboro da Silva 124b0e74c7 Remove files related to MBED OS (not mbedtls\!) 2023-02-07 15:47:30 -08:00
Andreas W 718ec00a1d
Do not pass MSG_NOSIGNAL as flag to `recv` (#606) 2023-01-12 15:42:45 -05:00
Jonathan Knam 4f1b7cd6bf
Adding support for OpenSSL engines when using curl (#602)
* Adding support for OpenSSL engines when using curl

* Free memory for openssl engine in case of an error

* Fix HTTPAPI_CloneOption for openssl engine and private key type

* Fixing HTTPApi build for Ubuntu 22

* Fixing engine_id memory leak.

Co-authored-by: Cristian Pop <CIPop@users.noreply.github.com>
Co-authored-by: CIPop <Cristian.Pop@microsoft.com>
2022-09-16 16:49:26 -07:00
Jose Sanchez 28a29a4e19
Merge pull request #603 from Azure/dev/change-code-causing-arm-compiler-warnings
Change variable name to avoid variable shadowing
2022-08-24 15:51:05 -07:00
Jose Sanchez 9726af1e47
Merge branch 'master' into dev/change-code-causing-arm-compiler-warnings 2022-08-24 15:18:46 -07:00
Dane Walton 9e4322c9d8
add openssl 3 compat and ubuntu 22.04 (#604) 2022-08-04 10:41:38 -07:00
JoseSanchez7 f88e7da953 Change variable name to match parameter name 2022-08-01 09:59:49 -07:00
Jose Sanchez f2a631096c
Update adapters/tlsio_mbedtls.c
Co-authored-by: Eric Wolz <ericwol@microsoft.com>
2022-07-29 15:45:45 -07:00
JoseSanchez7 a61f7b6204 Change variable name to avoid variable shadowing 2022-07-29 09:30:05 -07:00
Mollie Munoz a573357197
Remove failure on wrong TLS match with cURL. (#597) 2022-05-12 13:21:04 -07:00
Mollie Munoz 22801a4fa5
Check cURL TLS platform is valid and matches CSDK TLS platform (#595) 2022-05-06 18:05:00 -07:00
Dane Walton 71d6f529e0
fix tests and break out labels (#594) 2022-05-02 11:06:54 -07:00
Dane Walton 83c7613eb3
Update containers from Docker Hub to ACR (#593) 2022-04-28 18:32:14 -07:00
John Spaith 5048587ea5
Update Node version on gate from 6=>16 (#579) 2022-04-21 09:32:01 -07:00
Mollie Munoz f79aa6f40b
Fix for memory leak in http-proxy-io for retrieveoptions (#592) 2022-04-19 13:14:26 -07:00
ewertons 9fe9727f49
Merge pull request #590 from Azure/ewertons/enobufs
Handle ENOBUFS correctly in socketio_berkeley
2022-04-13 15:49:38 -07:00
Ewerton Scaboro da Silva b4283fb57e Handle ENOBUFS correctly in socketio_berkeley
This issue was first reported on Green Hill's embedded Linux,
where the number of telemetry messages was big enough to
fill in the output buffers of the OS and cause send() to return
error and set errno to ENOBUFS.
ENOBUFS should be treated as a transient error, not critical as
it was so far.
2022-04-13 15:14:30 -07:00
Fabrice Fontaine 43b313988d
adapters: fix build with libressl >= 2.8.0 (#589)
Fix the following build failure with libressl >= 2.8.0 raised since
703abab321:

/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store':
/nvmedata/autobuild/instance-20/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  961 |             bio_method = BIO_s_mem();
      |                        ^
cc1: all warnings being treated as errors

Fix #585

Fixes:
 - http://autobuild.buildroot.org/results/873f86fb2311ed29a791140f2341943475985fcc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2022-04-12 11:00:36 -07:00
Dane Walton 4977a70940
update console logger (#587) 2022-03-04 13:35:27 -07:00
Cristian Pop a0915d48fc
Fixing functions for strict-prototypes. (#586) 2022-03-01 11:56:30 -08:00
Eric Wolz 1a27846886
update linux deps (#580)
* Update CMakeLists.txt

* Update shared-util_filelist.txt

* Update azure_c_shared_utility_filelist.txt
2021-12-07 10:51:56 -08:00
Eric Wolz 7ddf017f1c
Fixes for SDLNativeRules issues (#578)
* SDL fixes

12650495
12699256
12698334
12699260
12699265
12725561
12699267
12650494
12680633
12725562
2021-12-07 10:18:29 -08:00
Eric Wolz ba79c6dede
Update .vsts-ci.yml for Azure Pipelines, remove Win2016 build (#574)
* Update .vsts-ci.yml for Azure Pipelines

* Update build.cmd

* use path macro for %ProgramFiles(x86)%

* validate msbuild path

Co-authored-by: Mollie Munoz <mollie.munoz@microsoft.com>
2021-12-01 15:06:47 -08:00
John Spaith f40f5eb7e9
Add clang builds for embedded TLS adapters (#573) 2021-11-22 20:13:53 -08:00
Dane Walton 045e9eeeba
remove en-us from links (#576) 2021-11-22 13:29:30 -08:00
Dane Walton dab428d3b1
Mbed fix (#572) 2021-11-17 14:10:01 -08:00
Eric Wolz 735be16a94
SDL Fixes (#571)
* SDL Fixes

11065424 - Defect : InvalidParamValue1, Component : c-utility\adapters\tlsio_schannel.c
11065425 - Defect : Unknown, Component : c-utility\src\crt_abstractions.c

* Update tlsio_schannel.c

removed extra line
2021-11-15 17:27:31 -08:00
Dane Walton 68d1640c84
update install paths for cmake (#568) 2021-11-08 10:41:55 -08:00
ewertons 2d74785c2b
Merge pull request #567 from Azure/SE/fix_crash_with_invalid_proxy_config
Fix crash with invalid proxy configuration
2021-11-01 15:17:10 -07:00
Ewerton Scaboro da Silva b2bff8029b Move define to top of http_proxy_io_ut 2021-11-01 14:43:50 -07:00
Ewerton Scaboro da Silva dbc618fde8 Update vm image for checksubmodule job in vsts pipeline 2021-10-29 22:29:25 -07:00
Ewerton Scaboro da Silva 706cd1d6c1 Add unit tests for http_proxy_io clone and destroy options 2021-10-29 22:24:36 -07:00
Hatem Maalla 76bd68ab03 fix crash when the proxy configuration is invalid (proxy is unreachable) 2021-10-29 15:31:12 +01:00
Mollie Munoz 1c41304835
Remerge header install location change (#563)
Co-authored-by: Mollie Munoz <momuno@microsoft.com>
2021-10-12 13:55:56 -07:00