Eric Wolz
b9fe252e09
clang static code analyzer issues ( #527 )
2021-05-03 10:34:26 -07:00
Eric Wolz
341c40b8ce
Added framework for running longhaul tests under valgrind ( #524 )
...
* enable valgrind on longhaul tests
* enable both valgrind and helgrind
* fixed set_tests_properties
* added valgrind drd
* fixed _exe tag
* fixed locks error message to info message
* added gen-suppressions
* remove helgrind
* disable the valgrind longhaul runs
* reverting "Locks already initialized"
2021-04-20 17:14:17 -07:00
Cristian Pop
f223f909db
OpenSSL IP Address SAN validation support ( #522 )
...
* Adding OpenSSL validation for SANs containing IP addresses.
* Adding WolfSSL init call and debug logging (requires WolfSSL debug build)
* Fixing WolfSSL UT
* Adding wolfssl UT
* Logic bug fix.
* Adding WolfSSL version check, verifying return values.
* Only enable logging if the option is set to true.
* Adding WolfSSL version check for UTs.
2021-04-08 11:33:52 -07:00
rajaggrawal
51555845f4
fileupload through specific network interface ( #516 )
...
* fileupload through specific network interface
* changed the name of option as per existing naming convention
* updated error log
* added error logs CURLOPT_INTERFACE
Co-authored-by: Aggrawal, Raj Kumar <rajkumar.aggrawal@barco.com>
Co-authored-by: ewertons <ewertons@microsoft.com>
2021-03-25 14:00:57 -06:00
ewertons
6f528467af
Merge pull request #518 from Azure/LogLockResult
...
Log the results of pthread Lock and Unlock in case of error
2021-03-24 15:37:37 -07:00
Ewerton Scaboro da Silva
8f0fe2babb
Log the results of pthread Lock and Unlock in case of error
2021-03-24 14:26:10 -07:00
Eric Wolz
071f479548
fix memory leak in win32 socketio ( #515 )
...
* fix memory leak in win32 socketio
2021-03-18 11:45:00 -07:00
John Spaith
98c734c212
Add deprecation messages ( #514 )
...
Deprecate httpapi.h for applications to invoke directly into (though it's fine to build adapters against it since httpapiex.h does right things when apps use httpapiex layer).
2021-03-12 20:44:57 -07:00
Eric Wolz
fe841e6e67
Do not set tcp_socket_connection NULL when the socket is closed ( #511 )
...
* Do not set tcp_socket_connection NULL when the socket is closed
Co-authored-by: Mollie Munoz <mollie.munoz@microsoft.com>
2021-02-08 17:38:11 -08:00
Dane Walton
b38adefd7d
fix printing data not in buffer ( #509 )
2021-02-04 11:06:38 -08:00
Mollie Munoz
45e22d6343
Proxy use-case fixed for wolfSSL ( #504 )
2021-02-04 10:16:11 -08:00
Mollie Munoz
0d084016f7
ARM update ( #507 )
...
Co-authored-by: Mollie Munoz <momuno@microsoft.com>
2021-02-04 09:42:28 -08:00
Eric Wolz
470a201d41
Update to use VS2017 as default ( #506 )
...
* Update .vsts-ci.yml
* Update build.cmd
2021-02-03 23:27:42 -08:00
Dane Walton
59c4ce42cb
update comment in mbedtls ( #505 )
2021-02-03 10:24:18 -08:00
Mollie Munoz
7e60c58309
Fix for C SDK Issue segfault when using wolfSSL and MQTT/WS ( #496 )
2021-01-29 13:40:13 -08:00
Eric Wolz
9597ee5f35
[SDL] NULL pointer check ( #502 )
2021-01-26 15:45:46 -08:00
Mollie Munoz
31c6e946cb
Fix wolffSSL retry for setDeviceId ( #500 )
2021-01-19 17:12:37 -08:00
Fanzhe Lyu
1fde47df51
decorate unused parameter ( #481 )
2021-01-15 14:17:03 -08:00
Fanzhe Lyu
9c062e0600
patch to suppress sigpipe ( #479 )
2021-01-14 14:59:40 -08:00
Cristian Pop
c9da788c89
Addressing the Y2k38 issue for SAS tokens ( #494 )
...
* Changing epoch time from size_t to uint64_t to avoid the Y2K38 problem.
* Adding large epoch time test.
* Switching tickcounter_ms_t to always be 64bits.
* Addressing PR comments.
2020-12-22 16:40:10 -08:00
Fanzhe Lyu
665326f649
updating errno.h inclusion ( #485 )
2020-12-21 17:20:01 -08:00
Cristian Pop
6b64328a1b
Adding OpenSSL Engine Support ( #492 )
...
* Adding OpenSSL Engine support.
* Fixing UT for OpenSSL<1.1.x
* Addressing feedback.
* Fixing Ubuntu16 tests.
* Fixing OSX UTs.
2020-12-21 09:04:46 -08:00
Cristian Pop
6f7bbcd23b
Fixing OpenSSL and WolfSSL hostname validation. Removing ESP adapters. ( #488 )
...
* Fixing OpenSSL and WolfSSL hostname validation. Removing ESP adapters.
* Fixing OpenSSL version detection. Removing gcc44, gcc46 support. Fixing wolf/bear build scripts.
2020-12-08 13:47:04 -08:00
Adam Ling (MSFT)
4030206334
check kCFStreamStatusError on macos tlsio ( #486 )
2020-12-08 13:05:48 -08:00
Eric Wolz
93163fbb7f
Fix compile issue on void* ( #478 )
...
* Fix compile issue on void*
compile issue on Epson AT-991, Clear Linux OS Version 1, Intel icc 2021.1 Beta 20200827 and icpc 2021.1 Beta 20200827 for intel 64
https://github.com/Azure/azure-iot-sdk-c/issues/1755
* Update socketio_berkeley.c
2020-11-23 13:38:25 -08:00
jbobotek
3134faaf2b
Fix for #1624 iOS 14 send temeletry fix ( #477 )
...
* Test fix for #1624
* Update tlsio_appleios.c to change to in spec name.
2020-11-12 10:45:16 -08:00
ewertons
9ce32a5bed
Merge pull request #476 from EcoStruxure/SE/add_ecc_support_for_httpapi_compact
...
add ecc support in httpapi_compact
2020-11-02 11:21:52 -08:00
Yann Girard
705ed1f15b
add ecc support in httpapi_compact
2020-10-30 13:24:47 +01:00
Dane Walton
91a3bb1bc4
fix memory leak in tlsio mbedtls ( #475 )
2020-10-26 13:45:51 -07:00
Mollie Munoz
0ed4867678
Merge pull request #473 from Azure/momuno/wolfssl-fix
...
Fix for wolfssl failure to reconnect. Issue #1704 of azure-iot-sdk-c.
2020-10-23 15:44:56 -07:00
Mollie Munoz
7e1232fcd8
Merge branch 'master' into momuno/wolfssl-fix
2020-10-23 15:30:06 -07:00
Mollie Munoz
ec4e764c40
update result value
2020-10-23 14:54:51 -07:00
Eric Wolz
7c46b276c8
fixed opensll include for protocol fuzzing ( #472 )
2020-10-21 14:14:52 -07:00
Mollie Munoz
3a1fed6232
Merge pull request #462 from fanzhe98/master
...
Fixes wolfssl retry bug:
Toggling wifi enable/disable state on Azure Sphere, the device will not reconnect.
On a PC, reconnection will happen.
2020-10-21 12:44:49 -07:00
Mollie Munoz
4b66839a32
Update return value to WOLFSSL err macro
2020-10-21 00:38:57 -07:00
Mollie Munoz
b569ee9274
fix for wolfssl connection issue
2020-10-21 00:11:29 -07:00
Fanzhe Lyu
408908e802
Merge branch 'master' into master
2020-10-20 14:22:58 -07:00
Fanzhe Lyu
72f2ee8b6a
Update tlsio_wolfssl.c
2020-10-19 11:02:36 -07:00
Fanzhe Lyu
deb567ac57
Update tlsio_wolfssl.c
...
fix according to pr comment
2020-10-14 21:38:26 -07:00
hihigupt
8b0032b43b
Fix: use correct wolfssl api in httpapi ( #471 )
...
Co-authored-by: danewalton <dane.walton@microsoft.com>
2020-09-02 17:03:50 -07:00
Eric Wolz
8fd2bb240e
Update porting_guide.md
...
remove last step
2020-08-24 18:57:49 -07:00
Eric Wolz
f37168b99f
Update porting_guide.md
...
fixed broken link to dns_resolver
2020-08-24 18:51:35 -07:00
Eric Wolz
ef6ebf91a2
Ericwol/sdl bugfix ( #465 )
...
* sdl bug fix
* sdl bug fix
Co-authored-by: ewertons <ewertons@microsoft.com>
2020-08-12 10:34:07 -07:00
danewalton
dfd2410c77
add check for overflow for BUFFER_prepend ( #467 )
2020-08-11 18:53:21 -07:00
danewalton
3f9f2c8878
update dec ref for loop max value ( #464 )
2020-08-11 13:33:46 -07:00
danewalton
f21b70cd80
add constbuffer_array_batcher_batch ut for middle empty array ( #463 )
2020-08-11 11:58:37 -07:00
hihigupt
731a1a58ba
Fix bug FormatMessage usage ( #461 )
...
Changes: Fix usage of FormatMessage usage.
'_Param_(5)' could be '0': this does not adhere to the specification for
the function 'FormatMessageA'.
2020-08-10 14:33:19 -07:00
Fanzhe Lyu
bb6e92ddb4
fix retry bug
2020-08-10 14:02:58 -07:00
ewertons
65c27eb4ab
Merge pull request #457 from Azure/SE/fix_compilation_mbedtls_windows
...
fix library ref and casts in tlsio_mbedtls
2020-07-07 17:46:23 -07:00
Alexis Martin
d8152c7775
fix library ref and casts in tlsio_mbedtls
2020-07-07 17:12:55 -07:00