Repository navigation
Conversation
vszakats
force-pushed
the
always-HAVE_EVP_AES_128_CTR
branch
2 times, most recently
from
March 19, 2023 20:09
1bb303e to
480d6f9
Compare
vszakats
marked this pull request as draft
March 19, 2023 20:15
EVP_aes_128_ctr() support
vszakats
force-pushed
the
always-HAVE_EVP_AES_128_CTR
branch
from
March 19, 2023 20:30
480d6f9 to
fb2600c
Compare
vszakats
marked this pull request as ready for review
March 19, 2023 20:30
vszakats
force-pushed
the
always-HAVE_EVP_AES_128_CTR
branch
from
March 19, 2023 20:45
fb2600c to
d224493
Compare
libssh2 built with OpenSSL and without its `EVP_aes_128_ctr()`, aka `HAVE_EVP_AES_128_CTR`, option are working incorrectly. This option wasn't always auto-detected by autotools up until recently (libssh2#811). Non-cmake, non-autotools build methods never enabled it automatically. No build method auto-detected or enabled it for wolfSSL either. OpenSSL supports this options since at least v1.0.2, which is already EOLed and considered obsolete. OpenSSL forks (LibreSSL, BoringSSL) supported it all along. In this patch we enable this option unconditionally, now requiring OpenSSL supporting this function, or one of its forks, or wolfSSL. Also modernize OpenSSL lib references to what 1.0.2 and newer versions have been using. Fixes libssh2#739
vszakats
force-pushed
the
always-HAVE_EVP_AES_128_CTR
branch
from
March 19, 2023 22:39
d224493 to
00fd5f2
Compare
Member
Author
|
Merged in ec0a51d. |
vszakats
added a commit
to curl/curl-for-win
that referenced
this pull request
Mar 20, 2023
Contributor
|
Thanks so much for addressing this. Would it be possible to tag a release, so that distros can pick up on this fix? |
Member
Author
|
You're welcome! We track the question of when to make a new release here: #790 |
1 task
vszakats
added a commit
that referenced
this pull request
Jun 4, 2026
For fewer crypto-namespaced private functions in favor or plain `ssh2_*` ones, and to reduce macro mappings. Also: - move related functions/macros declarations next to each other. - merge `#if LIBSSH2_ECDSA` blocks. - guard some constants with `LIBSSH2_ECDSA`. - drop orphan prototypes. Follow-up to 076838d #1961 Follow-up to ec0a51d #860 - tidy-up bignum (`ssh2_bn_*`) mapping/declaration blocks. - formatting/whitespace/unfold/fold fixes/sync along the way. Closes #1971
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
libssh2 built with OpenSSL and without its
EVP_aes_128_ctr(), akaHAVE_EVP_AES_128_CTR, option is working incorrectly. This optionwasn't always auto-detected by autotools up until recently (#811).
Non-cmake, non-autotools build methods never enabled it automatically.
OpenSSL supports this options since at least v1.0.2, which is already
EOLed and considered obsolete. OpenSSL forks (LibreSSL, BoringSSL)
supported it all along.
In this patch we enable this option unconditionally, now requiring
an OpenSSL version supporting this function, or one of its forks.
Also modernize OpenSSL lib references to what 1.0.2 and newer versions
have been using.
Fixes #739