Skip to content

openssl: fix format type in ECH code#13816

Closed
vvb2060 wants to merge 1 commit intocurl:masterfrom
vvb2060:format
Closed

openssl: fix format type in ECH code#13816
vvb2060 wants to merge 1 commit intocurl:masterfrom
vvb2060:format

Conversation

@vvb2060
Copy link
Contributor

@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
@bagder
Copy link
Member

bagder commented May 28, 2024

Thanks!

@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

Labels

Development

Successfully merging this pull request may close these issues.

3 participants