Skip to content

Fix function name #11515

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

Closed
wants to merge 2 commits into from
Closed

Fix function name #11515

wants to merge 2 commits into from

Conversation

infracaninophile
Copy link

There is an EVP_aes_128_cbc() function in openssl, but no EVP_EVP_aes_128_cbc().

To trigger this, you need an OpenSSL library compiled without DES/3DES support, or various other obsolescent crypto.

infracaninophile and others added 2 commits August 31, 2024 13:26
There is an EVP_aes_128_cbc() function in openssl, but no
EVP_EVP_aes_128_cbc().

To trigger this, you need an OpenSSL library compiled without DES/3DES
support, or various other obsolescent crypto.
@nobu
Copy link
Member

nobu commented Sep 4, 2024

Please report it to the upstream, https://github.com/ruby/openssl.

@rhenium
Copy link
Member

rhenium commented Sep 5, 2024

While this patch is a correct fix, I think removing these lines would be a better idea considering that it has never worked since initially written in 2003.

As @nobu says, https://github.com/ruby/openssl is the upstream for files in ext/openssl. I'm closing this PR here.

@rhenium rhenium closed this Sep 5, 2024
infracaninophile added a commit to infracaninophile/openssl that referenced this pull request Sep 7, 2024
There is no such function as `EVP_EVP_aes_128_cbc()` in openssl.
This should read `EVP_aes_128_cbc()`

In order to see a compilation failure due to this, it is necessary to
build a version of openssl without any of the older and less secure
ciphers, including omitting DES/3DES.

Previously submitted as ruby/ruby#11515 --
resubmitting here as requested.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants