BUG: Update openssl 1.1.1w building with c99 conformance

```
test/v3ext.c:201:24: error: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration]
  201 |         if (!TEST_true(memcmp(ip1->data, ip2->data, ip1->length) <= 0))
      |                        ^~~~~~
test/testutil.h:360:66: note: in definition of macro 'TEST_true'
  360 | # define TEST_true(a)         test_true(__FILE__, __LINE__, #a, (a) != 0)
      |                                                                  ^
test/v3ext.c:18:1: note: include '<string.h>' or provide a declaration of 'memcmp'
   17 | #include "testutil.h"
  +++ |+#include <string.h>
   18 |
```
This commit is contained in:
Hans Johnson
2025-03-04 14:43:18 -06:00
parent 1678be2d0d
commit 2235db7afb

View File

@ -1373,11 +1373,11 @@ jobs:
cd ninja
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.ninja_arg }}
# Updated on 12/09/2022
# Updated on 04/04/2025 (Use openSSL_1_1_1w to fix error: implicit declaration of function 'memcmp')
- name: openssl build test
if: ${{ matrix.arch_name.openssl == 'yes' && (matrix.arch_name.multiarch == 'yes' || env.HOST_ARCH == 'amd64') }}
run: |
git clone --depth 1 --branch OpenSSL_1_1_1q https://github.com/openssl/openssl.git
git clone --depth 1 --branch OpenSSL_1_1_1w https://github.com/openssl/openssl.git
cd openssl
wget https://raw.githubusercontent.com/mavlink/MAVSDK/main/third_party/openssl/dockcross-android.patch
patch -p 0 < dockcross-android.patch