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.
Follow up from #833
This contribution is to add basic build support for AWS-LC in the ruby/openssl gem. These changes represent the build portion of a larger patch in the AWS-LC's Ruby integration CI.
CI changes
-Wdeprecated-declarations
to alert the consuming application of these. I've leveraged theskip-warnings
CI option so that the build doesn't fail.Build adjustments
KEY_SIG
orKEY_EX
flags that were only ever supported by old MSIE.EC_GROUP
structures for named curves in AWS-LC are constant, static, and immutable by default. This means thatEC_GROUP_set_*
functions are essentially no-ops due to the immutability of the structure. We've introduced a new API for consumers that depend on the OpenSSL's default mutability of theEC_GROUP
structure calledEC_GROUP_new_by_curve_name_mutable
. Since Ruby has a bit of functionality that's dependent on the mutability of these structures, I've made the corresponding adjustments to allow things to work as expected.