Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openssl: fix format type in ECH code #13816

wants to merge 1 commit into from


Copy link

@vvb2060 vvb2060 commented May 28, 2024

curl-android/curl/src/main/native/curl/lib/vtls/openssl.c:3943:70: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
  3943 |             infof(data, "ECH: imported ECHConfigList of length %ld", elen);
       |                                                                ~~~   ^~~~
       |                                                                %zu
curl-android/curl/src/main/native/curl/lib/curl_trc.h:76:27: note: expanded from macro 'infof'
    76 |          Curl_infof(data, __VA_ARGS__); } while(0)
       |                           ^~~~~~~~~~~
 1 error generated.

@github-actions github-actions bot added the TLS label May 28, 2024
@vszakats vszakats changed the title build: fix format type openssl: fix format type in ECH code May 28, 2024
@bagder bagder closed this in f284289 May 28, 2024
Copy link

bagder commented May 28, 2024


@vvb2060 vvb2060 deleted the format branch June 1, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Successfully merging this pull request may close these issues.

None yet

3 participants