Ewerton Scaboro da Silva
646df59314
Add use_default_uuid to README.md
2023-05-04 13:29:54 -07:00
Ewerton Scaboro da Silva
6d3d1af935
Rearrange UUID_INCLUDE_DIR and UUID_LIBRARY_DIRS
2023-05-04 13:22:03 -07:00
Ewerton Scaboro da Silva
a0c0fa98ce
Change find_package to find_library
2023-05-04 12:01:29 -07:00
Ewerton Scaboro da Silva
4201fd2df6
Add find_package(uuid)
2023-05-04 11:53:08 -07:00
Ewerton Scaboro da Silva
897f85a2f9
Add trace to print UUID_LIBRARY_DIRS and UUID_INCLUDE_DIRS
2023-05-04 11:42:53 -07:00
Ewerton Scaboro da Silva
2455aaba40
Add use_default_uuid to list of linux_c_option_test.sh
2023-05-04 11:23:06 -07:00
AprilCH_Wu
8999bb21ce
Link uuid library by specific directories.
2023-05-04 11:19:35 -07:00
Ewerton Scaboro da Silva
e7e884d002
Merge pull request #626 from Azure/ewertons/uuidfix
...
UUID_from_string: fix UUID_T overflow
2023-05-03 18:52:02 -07:00
Ewerton Scaboro da Silva
9f3c4221cd
Address code review comments
2023-05-03 18:37:10 -07:00
Ewerton Scaboro da Silva
216d07d58e
Simplify uuid fix, add unit tests
2023-05-03 16:44:06 -07:00
Mark Hillebrand
0b4e6d72ea
UUID_from_string: fix UUID_T overflow
...
- Too few dashes in UUID string could have caused to write beyond UUID_T.
- Check strictly for expected position with dashes.
2023-05-03 15:19:57 -07:00
Ewerton Scaboro da Silva
2ab5323279
Merge pull request #625 from Azure/ewertons/fix-strcpy
...
Remove check for return value of strcpy
2023-05-03 14:46:18 -07:00
Mingjie Shen
e61b5f3e9e
Remove check for return value of strcpy
...
The return value for strcpy, strncpy, or related string copy functions
have no reserved return value to indicate an error.
2023-05-03 14:12:50 -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