refactor parts of DoServerKeyExchange()#9176
Merged
SparkiDev merged 1 commit intowolfSSL:masterfrom Sep 18, 2025
Merged
Conversation
|
Can one of the admins verify this patch? |
80d751b to
0d3ea3e
Compare
Member
|
Okay to test. Contributor agreement on file |
Member
|
Jenkins retest this please: Several tests failed with "RequestAbortedException" and it does not appear related to these chagnes. |
Member
|
Hi @effbiae can you please rebase and force push to clear those Ubuntu --enable-coding=no issues? This refactor looks good. |
SparkiDev
requested changes
Sep 11, 2025
Contributor
SparkiDev
left a comment
There was a problem hiding this comment.
Great refactor!
Cleans the code up nicely!
0d3ea3e to
c57d527
Compare
dgarske
previously requested changes
Sep 12, 2025
Member
dgarske
left a comment
There was a problem hiding this comment.
Looks like hard tabs vs 4 spaces in a few places.
./src/internal.c:32271:»return ECC_CURVE_ERROR;
./src/internal.c:32280:»return BUFFER_ERROR;
./src/internal.c:32284:»if (ssl->peerX25519Key == NULL) {
./src/internal.c:32285:» ret = AllocKey(ssl, DYNAMIC_TYPE_CURVE25519,
./src/internal.c:32286:» (void **)&ssl->peerX25519Key);
./src/internal.c:32287:» if (ret != 0) {
./src/internal.c:32288:»»return ret;
./src/internal.c:32289:» }
[...and more...]
c57d527 to
0a99c95
Compare
Contributor
Author
|
oops -- should have been indent -linux -nut -i4 |
SparkiDev
requested changes
Sep 15, 2025
0a99c95 to
7da0b54
Compare
SparkiDev
approved these changes
Sep 16, 2025
Contributor
Author
|
what happened in PRB-master-job? |
Contributor
|
retest this please Too old to see what went wrong. |
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.
Description
#9165 aligned parts of
DoServerKeyExchange(). now, the common parts ofDoServerKeyExchange()are pulled out to separate functions:GetPSKServerHint()andGetEcDiffieHellmanKea(). maybe there are better names for these.Testing
./configure && make check && ./configure --enable-all && make checkChecklist