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

test: fix crypto-dh error message for OpenSSL 3.x #50395

Merged
merged 1 commit into from
Oct 27, 2023

Commits on Oct 25, 2023

  1. test: fix crypto-dh error message for OpenSSL 3.x

    OpenSSL 3.0.12 and 3.1.4 changes the type of error short keys and IVs
    cause. The error message in test-crypto-dh for the "empty secret" is
    now 'Supplied key is too small' instead of
    'error:02800080:Diffie-Hellman routines::invalid secret'.
    
    Error message change is test-only and uses the right error message for
    versions >=3.0.12 in 3.0.x and >= 3.1.4 in 3.1.x series.
    
    ref. https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=0df40630850fb2740e6be6890bb905d3fc623b2d
    ref. https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5f69f5c65e483928c4b28ed16af6e5742929f1ee
    ref. https://www.openssl.org/news/vulnerabilities.html#CVE-2023-5363
    krk committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    c46e946 View commit details
    Browse the repository at this point in the history