Skip to content

Conversation

@bagder
Copy link
Member

@bagder bagder commented Dec 23, 2025

Recent wolfSSL with OPENSSL_COEXIST enabled does not provide the DES_* symbols, so we do.

Reported-by: Daniel Pouzzner

Recent wolfSSL with OPENSSL_COEXIST enabled does not provide the DES_*
symbols, so we do.

Reported-by: Daniel Pouzzner
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes missing DES_ENCRYPT and DES_DECRYPT symbols for wolfSSL builds when OPENSSL_COEXIST mode is enabled in wolfSSL version 5.7.6 and later.

Key Changes:

  • Added <wolfssl/version.h> include to access version macros
  • Added version-conditional defines for DES_ENCRYPT and DES_DECRYPT that map to WC_DES_ENCRYPT and WC_DES_DECRYPT for wolfSSL >= 5.7.6

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@testclutch
Copy link

Analysis of PR #20083 at d263bbc6:

Test 271 failed, which has NOT been flaky recently, so there could be a real issue in this PR. Note that this test has failed in 12 different CI jobs (the link just goes to one of them).

Generated by Testclutch

Copy link
Contributor

@douzzer douzzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

[curl-master-with-wolfssl-coexist] [1 of 1] [d36bfabe18]
    autoreconf curl d263bbc666...   real 0m9.759s  user 0m8.384s  sys 0m0.439s
    autogen.sh d36bfabe18...   real 0m8.507s  user 0m7.148s  sys 0m0.425s
    configure...   real 0m7.659s  user 0m4.764s  sys 0m3.397s
    build...   real 0m5.301s  user 0m54.360s  sys 0m3.645s
    configure curl...   real 0m9.771s  user 0m5.764s  sys 0m4.428s
    build curl...   real 0m4.358s  user 1m25.954s  sys 0m20.799s
    test curl... OK.
    scenario started 2025-12-23T22:29:51.529516Z, real elapsed 0m45.730204s
    curl-master-with-wolfssl-coexist OK

@bagder bagder closed this in ca46112 Dec 24, 2025
@bagder bagder deleted the bagder/wolfssl-des branch December 24, 2025 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants