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

Fix missing cast #8191

Merged
merged 2 commits into from
Nov 15, 2024
Merged

Fix missing cast #8191

merged 2 commits into from
Nov 15, 2024

Commits on Nov 15, 2024

  1. Fix missing cast

    Introduced in PR#8176.
    Andras Fekete committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    ca8b465 View commit details
    Browse the repository at this point in the history
  2. Fix another compilation issue

    In file included from ./wolfssl/error-ssl.h:27,
                     from ./wolfssl/ssl.h:35,
                     from ./wolfssl/internal.h:28,
                     from src/ssl.c:36:
    ./src/x509_str.c: In function 'int X509StoreLoadCertBuffer(WOLFSSL_X509_STORE*, byte*, word32, int)':
    ./wolfssl/wolfcrypt/error-crypt.h:336:37: error: 'CONST_NUM_ERR_WOLFSSL_SUCCESS' was not declared in this scope; did you mean 'CONST_NUM_ERR_WOLFSSL_UNKNOWN'?
      336 |     #define WC_NO_ERR_TRACE(label) (CONST_NUM_ERR_ ## label)
          |                                     ^~~~~~~~~~~~~~
    ./src/x509_str.c:1456:15: note: in expansion of macro 'WC_NO_ERR_TRACE'
     1456 |     int ret = WC_NO_ERR_TRACE(WOLFSSL_SUCCESS);
          |               ^~~~~~~~~~~~~~~
    Andras Fekete committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    d99a1c6 View commit details
    Browse the repository at this point in the history