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

gnutls: fix build with --disable-verbose #12505

Closed
wants to merge 1 commit into from

Conversation

baruchsiach
Copy link
Contributor

infof() parameters must be defined event with --disable-verbose since commit dac293c ("lib: apache style infof and trace macros/functions").

@github-actions github-actions bot added the TLS label Dec 11, 2023
infof() parameters must be defined event with --disable-verbose since
commit dac293c ("lib: apache style infof and trace
macros/functions").

Move also 'ptr' definition under !CURL_DISABLE_VERBOSE_STRINGS.

Fixes the following build failure:

In file included from ../lib/sendf.h:29,
                 from vtls/gtls.c:44:
vtls/gtls.c: In function 'Curl_gtls_verifyserver':
vtls/gtls.c:841:34: error: 'version' undeclared (first use in this function); did you mean 'session'?
  841 |         gnutls_protocol_get_name(version), ptr);
      |                                  ^~~~~~~
@bagder bagder closed this in af520ac Dec 16, 2023
@bagder
Copy link
Member

bagder commented Dec 16, 2023

Thanks!

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.

None yet

3 participants