summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch
index d830d9228..ff5a8f298 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch
+++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch
@@ -1,4 +1,4 @@
1From 3359a87a71307336100b84e66b69bad385cd3cfc Mon Sep 17 00:00:00 2001 1From eee5daeb5b53b0c4a013aa5887a726434ec81600 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com> 2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Mon, 6 May 2024 01:36:39 +0200 3Date: Mon, 6 May 2024 01:36:39 +0200
4Subject: [PATCH] crypto: use _Generic only if !defined(__cplusplus) 4Subject: [PATCH] crypto: use _Generic only if !defined(__cplusplus)
@@ -43,18 +43,17 @@ third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in
43 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); 43 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
44 | ^~~~~~~~~~~~~~~~~~~ 44 | ^~~~~~~~~~~~~~~~~~~
45 45
46Upstream-Status: Submitted [https://boringssl-review.googlesource.com/c/boringssl/+/68227 crypto: use _Generic only if !defined(__cplusplus)]
46Signed-off-by: Martin Jansa <martin.jansa@gmail.com> 47Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
47--- 48---
48Upstream-Status: Submitted [https://boringssl-review.googlesource.com/c/boringssl/+/68227 crypto: use _Generic only if !defined(__cplusplus)]
49
50 crypto/internal.h | 4 ++-- 49 crypto/internal.h | 4 ++--
51 1 file changed, 2 insertions(+), 2 deletions(-) 50 1 file changed, 2 insertions(+), 2 deletions(-)
52 51
53diff --git a/crypto/internal.h b/crypto/internal.h 52diff --git a/crypto/internal.h b/crypto/internal.h
54index a77102d76..30d6826dd 100644 53index f93c2e5..2fca2fb 100644
55--- a/crypto/internal.h 54--- a/crypto/internal.h
56+++ b/crypto/internal.h 55+++ b/crypto/internal.h
57@@ -1176,7 +1176,7 @@ static inline uint64_t CRYPTO_rotr_u64(uint64_t value, int shift) { 56@@ -1193,7 +1193,7 @@ static inline uint64_t CRYPTO_rotr_u64(uint64_t value, int shift) {
58 57
59 // CRYPTO_addc_* returns |x + y + carry|, and sets |*out_carry| to the carry 58 // CRYPTO_addc_* returns |x + y + carry|, and sets |*out_carry| to the carry
60 // bit. |carry| must be zero or one. 59 // bit. |carry| must be zero or one.
@@ -63,7 +62,7 @@ index a77102d76..30d6826dd 100644
63 62
64 #define CRYPTO_GENERIC_ADDC(x, y, carry, out_carry) \ 63 #define CRYPTO_GENERIC_ADDC(x, y, carry, out_carry) \
65 (_Generic((x), \ 64 (_Generic((x), \
66@@ -1228,7 +1228,7 @@ static inline uint64_t CRYPTO_addc_u64(uint64_t x, uint64_t y, uint64_t carry, 65@@ -1245,7 +1245,7 @@ static inline uint64_t CRYPTO_addc_u64(uint64_t x, uint64_t y, uint64_t carry,
67 66
68 // CRYPTO_subc_* returns |x - y - borrow|, and sets |*out_borrow| to the borrow 67 // CRYPTO_subc_* returns |x - y - borrow|, and sets |*out_borrow| to the borrow
69 // bit. |borrow| must be zero or one. 68 // bit. |borrow| must be zero or one.