1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00
Files
libssh2/.github/workflows
Viktor Szakats 33a1df3088 openssl: fix compiler warning with AWS-LC/BoringSSL with debug logging enabled
This API returns `uint32_t` with these two forks, and `unsigned long`
elsewhere.

```
src/openssl.c: In function ‘ssh2_ed25519_verify’:
src/openssl.c:3291:19: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint32_t’ {aka ‘unsigned int’} [-Werror=format=]
 3291 |                   "ssh2_ed25519_verify(): EVP_DigestVerify()->%d (ossl: %lu)",
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3292 |                   ret, ret ? ERR_peek_last_error() : 0));
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                    |
      |                                                    uint32_t {aka unsigned int}
src/libssh2_priv.h:1112:34: note: in definition of macro ‘ssh2_deb’
```
Ref: https://github.com/libssh2/libssh2/actions/runs/30837337514/job/91765629453?pr=2503#step:24:105

Also:
- GHA: test the build combination in CI, with BoringSSL.

Closes #2503
2026-08-03 20:11:49 +02:00
..
2026-08-01 23:54:28 +02:00
2026-08-01 23:54:28 +02:00