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

lib/v*: silence -Wsign-conversion, tidy-ups, fixes #13472

Closed
wants to merge 22 commits into from

Commits on Apr 29, 2024

  1. lib vtls/vauth/common

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    433763e View commit details
    Browse the repository at this point in the history
  2. lib vauth spnego_sspi win32

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    ee24e33 View commit details
    Browse the repository at this point in the history
  3. lib vquic curl_msh3

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    0d9e021 View commit details
    Browse the repository at this point in the history
  4. lib vquic curl_osslq

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    eec18ec View commit details
    Browse the repository at this point in the history
  5. lib vquic vquic-tls

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b785e18 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    70c3770 View commit details
    Browse the repository at this point in the history
  7. lib vssh libssh

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    2379c6a View commit details
    Browse the repository at this point in the history
  8. lib vssh libssh2

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    0579816 View commit details
    Browse the repository at this point in the history
  9. lib vtls rustls

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    f2b1954 View commit details
    Browse the repository at this point in the history
  10. lib vtls wolfssl

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e374286 View commit details
    Browse the repository at this point in the history
  11. lib vtls bearssl

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    f62c496 View commit details
    Browse the repository at this point in the history
  12. lib vtls cipher_suite

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    87bd11f View commit details
    Browse the repository at this point in the history
  13. lib vtls gtls

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e9ac6ab View commit details
    Browse the repository at this point in the history
  14. lib vtls mbedtls

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b7b0843 View commit details
    Browse the repository at this point in the history
  15. lib vtls bearssl

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e21752c View commit details
    Browse the repository at this point in the history
  16. lib vtls openssl

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    7ef01dc View commit details
    Browse the repository at this point in the history
  17. lib vtls openssl fix ctx_option_t type for openssl 1.1.0/1.1.1

    Documentation says it's `long`, but really is `unsigned long`.
    
    ```
    vtls/openssl.c:3695:38: error: conversion to 'long unsigned int' from 'ctx_option_t' {aka 'long int'} may change the sign of the result [-Werror=sign-conversion]
     3695 |   SSL_CTX_set_options(octx->ssl_ctx, ctx_options);
          |                                      ^~~~~~~~~~~
    ```
    Ref: https://github.com/curl/curl/actions/runs/8868596554/job/24348345926#step:31:490
    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    bd87cbf View commit details
    Browse the repository at this point in the history
  18. lib vtls schannel

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    1a55853 View commit details
    Browse the repository at this point in the history
  19. lib vtls schannel_verify

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    ab12b3f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    69ea5a8 View commit details
    Browse the repository at this point in the history
  21. lib vtls x509asn1

    temp:
    ```
    C:/projects/curl/lib/vtls/x509asn1.c:961:12: error: cast from function call of type 'CURLcode' to non-matching type 'int' [-Werror=bad-function-cast]
      961 |     return (int)do_pubkey_field(data, certnum, "ecPublicKey", pubkey);
          |            ^
    ```
    Ref: https://ci.appveyor.com/project/curlorg/curl/builds/49704256/job/hcietrd5e7qbu73c#L326
    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    0defcc3 View commit details
    Browse the repository at this point in the history
  22. lib vtls openssl cleanup

    vszakats committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    2542546 View commit details
    Browse the repository at this point in the history