Skip to contentSkip to conversation

package/azure-iot-sdk-c: bump to version LTS_01_2022_Ref01

PATCH Applied Fabrice Fontaine 2 participants 2 messages Mar 9, 2022 – Mar 15, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/azure-iot-sdk-c: bump to version LTS_01_2022_Ref01

Drop patch (already in version)

https://github.com/Azure/azure-iot-sdk-c/releases/tag/LTS_01_2022_Ref01

---
 ...c-fix-mismatching-function-prototype.patch | 35 -------------------
 package/azure-iot-sdk-c/azure-iot-sdk-c.hash  |  2 +-
 package/azure-iot-sdk-c/azure-iot-sdk-c.mk    |  2 +-
 3 files changed, 2 insertions(+), 37 deletions(-)
 delete mode 100644 package/azure-iot-sdk-c/0001-hmac-c-fix-mismatching-function-prototype.patch
package/azure-iot-sdk-c/0001-hmac-c-fix-mismatching-function-prototype.patch deleted +0 -35
deleted file mode 100644
index 0c262e6c46..0000000000
@@ -1,35 +0,0 @@
-From 3a7997af72e7a4f70109d1639e6725b39046443e Mon Sep 17 00:00:00 2001
-From: Francesco Giancane <[email protected]>
-Date: Fri, 2 Jul 2021 20:47:38 +0200
-Subject: [PATCH] hmac.c: fix mismatching function prototype (#537)
-
-The reported function raises a warning when compilers assert the flag
-`-Warray-parameter=`, signaling that an array-type argument was promoted
-to a pointer-type argument.
-
-While in practice in most C implementations this is correct, fixing the
-warning (and, in this case, indicating the maximum size for the array)
-would represent a best-practice for finding out-of-bound accesses or
-identifying wrongly-sized arrays passed in the function.
-
-Signed-off-by: Francesco Giancane <[email protected]>
-[Retrieved from:
-https://github.com/Azure/azure-c-shared-utility/commit/3a7997af72e7a4f70109d1639e6725b39046443e]
-Signed-off-by: Fabrice Fontaine <[email protected]>
----
- src/hmac.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/hmac.c b/src/hmac.c
-index 53f2411f8..160af9d2f 100644
---- a/c-utility/src/hmac.c
-+++ b/c-utility/src/hmac.c
-@@ -208,7 +208,7 @@ int hmacFinalBits(HMACContext *ctx,
- *   sha Error Code.
- *
- */
--int hmacResult(HMACContext *ctx, uint8_t *digest)
-+int hmacResult(HMACContext *ctx, uint8_t digest[USHAMaxHashSize])
- {
-     if (!ctx) return shaNull;
- 
package/azure-iot-sdk-c/azure-iot-sdk-c.hash +1 -1
index 72fa99c44d..5dbb530954 100644
@@ -1,5 +1,5 @@
 # Locally computed:
-sha256  987b469aa76d6c81e5dbcd62e81f4ece0620770930cf65722754c76aedd6049f  azure-iot-sdk-c-LTS_01_2021_Ref01-br1.tar.gz
+sha256  082e41f7cdf06fec036b8cfa1793f03e81ba527b55ea13c66be0e4cf9f20ff7b  azure-iot-sdk-c-LTS_01_2022_Ref01-br1.tar.gz
 
 # Hash for license files:
 sha256  be2e9913fad9ff33607287c728f392579e2a6cc83e51b203ef6274c41db02ee7  LICENSE
package/azure-iot-sdk-c/azure-iot-sdk-c.mk +1 -1
index e6de8c851b..874646c445 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-AZURE_IOT_SDK_C_VERSION = LTS_01_2021_Ref01
+AZURE_IOT_SDK_C_VERSION = LTS_01_2022_Ref01
 AZURE_IOT_SDK_C_SITE = https://github.com/Azure/azure-iot-sdk-c
 AZURE_IOT_SDK_C_SITE_METHOD = git
 AZURE_IOT_SDK_C_GIT_SUBMODULES = YES
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · Fabrice Fontaine

Drop patch (already in version)

https://github.com/Azure/azure-iot-sdk-c/releases/tag/LTS_01_2022_Ref01

Applied to master, thanks.

Regards,
Arnout

Quoted 64 lines
---
  ...c-fix-mismatching-function-prototype.patch | 35 -------------------
  package/azure-iot-sdk-c/azure-iot-sdk-c.hash  |  2 +-
  package/azure-iot-sdk-c/azure-iot-sdk-c.mk    |  2 +-
  3 files changed, 2 insertions(+), 37 deletions(-)

delete mode 100644 package/azure-iot-sdk-c/0001-hmac-c-fix-mismatching-function-prototype.patch

package/azure-iot-sdk-c/0001-hmac-c-fix-mismatching-function-prototype.patch deleted +0 -35
deleted file mode 100644
index 0c262e6c46..0000000000
@@ -1,35 +0,0 @@
-From 3a7997af72e7a4f70109d1639e6725b39046443e Mon Sep 17 00:00:00 2001
-From: Francesco Giancane <[email protected]>
-Date: Fri, 2 Jul 2021 20:47:38 +0200
-Subject: [PATCH] hmac.c: fix mismatching function prototype (#537)
-
-The reported function raises a warning when compilers assert the flag
-`-Warray-parameter=`, signaling that an array-type argument was promoted
-to a pointer-type argument.
-
-While in practice in most C implementations this is correct, fixing the
-warning (and, in this case, indicating the maximum size for the array)
-would represent a best-practice for finding out-of-bound accesses or
-identifying wrongly-sized arrays passed in the function.
-
-Signed-off-by: Francesco Giancane <[email protected]>
-[Retrieved from:
-https://github.com/Azure/azure-c-shared-utility/commit/3a7997af72e7a4f70109d1639e6725b39046443e]
-Signed-off-by: Fabrice Fontaine <[email protected]>
----
- src/hmac.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/hmac.c b/src/hmac.c
-index 53f2411f8..160af9d2f 100644
---- a/c-utility/src/hmac.c
-+++ b/c-utility/src/hmac.c
-@@ -208,7 +208,7 @@ int hmacFinalBits(HMACContext *ctx,
- *   sha Error Code.
- *
- */
--int hmacResult(HMACContext *ctx, uint8_t *digest)
-+int hmacResult(HMACContext *ctx, uint8_t digest[USHAMaxHashSize])
- {
-     if (!ctx) return shaNull;
-
package/azure-iot-sdk-c/azure-iot-sdk-c.hash +1 -1
index 72fa99c44d..5dbb530954 100644
@@ -1,5 +1,5 @@
  # Locally computed:
-sha256  987b469aa76d6c81e5dbcd62e81f4ece0620770930cf65722754c76aedd6049f  azure-iot-sdk-c-LTS_01_2021_Ref01-br1.tar.gz
+sha256  082e41f7cdf06fec036b8cfa1793f03e81ba527b55ea13c66be0e4cf9f20ff7b  azure-iot-sdk-c-LTS_01_2022_Ref01-br1.tar.gz
 
  # Hash for license files:
  sha256  be2e9913fad9ff33607287c728f392579e2a6cc83e51b203ef6274c41db02ee7  LICENSE
package/azure-iot-sdk-c/azure-iot-sdk-c.mk +0 -0
index e6de8c851b..874646c445 100644

package/azure-iot-sdk-c/azure-iot-sdk-c.mk line 10

Quoted 8 lines
package/azure-iot-sdk-c/azure-iot-sdk-c.mk +1 -1
@@ -4,7 +4,7 @@
  #
  ################################################################################
 
-AZURE_IOT_SDK_C_VERSION = LTS_01_2021_Ref01
+AZURE_IOT_SDK_C_VERSION = LTS_01_2022_Ref01
  AZURE_IOT_SDK_C_SITE = https://github.com/Azure/azure-iot-sdk-c
  AZURE_IOT_SDK_C_SITE_METHOD = git
  AZURE_IOT_SDK_C_GIT_SUBMODULES = YES

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot