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

Make SSL_clear_options pass new options to record layer #23045

Closed
wants to merge 1 commit into from

Conversation

lan1120
Copy link
Contributor

@lan1120 lan1120 commented Dec 14, 2023

Make SSL_clear_options pass new options to record layer, so we can more flexibly control certain features, such as DTLS record replay check.

@t8m t8m added branch: master Merge to master branch approval: review pending This pull request needs review by a committer triaged: feature The issue/pr requests/adds a feature tests: exempted The PR is exempt from requirements for testing triaged: bug The issue/pr is/fixes a bug branch: 3.2 Merge to openssl-3.2 and removed triaged: feature The issue/pr requests/adds a feature labels Dec 14, 2023
@hlandau hlandau added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Dec 18, 2023
ssl/ssl_lib.c Show resolved Hide resolved
ssl/ssl_lib.c Outdated
@@ -6023,6 +6023,7 @@ uint64_t SSL_set_options(SSL *s, uint64_t op)

/* Ignore return value */
sc->rlayer.rrlmethod->set_options(sc->rlayer.rrl, options);
sc->rlayer.rrlmethod->set_options(sc->rlayer.wrl, options);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be wrlmethod here.

ssl/ssl_lib.c Outdated

/* Ignore return value */
sc->rlayer.rrlmethod->set_options(sc->rlayer.rrl, options);
sc->rlayer.rrlmethod->set_options(sc->rlayer.wrl, options);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrlmethod

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@openssl-machine
Copy link
Collaborator

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually.

Signed-off-by: lan1120 <lanming@huawei.com>
@hlandau hlandau added approval: review pending This pull request needs review by a committer approval: otc review pending This pull request needs review by an OTC member and removed approval: done This pull request has the required number of approvals labels Dec 19, 2023
@hlandau
Copy link
Member

hlandau commented Dec 19, 2023

Needs reapproval

@hlandau hlandau removed the approval: otc review pending This pull request needs review by an OTC member label Dec 19, 2023
@t8m t8m added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Dec 19, 2023
@openssl-machine openssl-machine added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Dec 20, 2023
@openssl-machine
Copy link
Collaborator

This pull request is ready to merge

@mattcaswell
Copy link
Member

Pushed to master and 3.2. Thanks.

openssl-machine pushed a commit that referenced this pull request Dec 20, 2023
Signed-off-by: lan1120 <lanming@huawei.com>

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #23045)
openssl-machine pushed a commit that referenced this pull request Dec 20, 2023
Signed-off-by: lan1120 <lanming@huawei.com>

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #23045)

(cherry picked from commit e8e95f2)
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 22, 2023
Signed-off-by: lan1120 <lanming@huawei.com>

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#23045)

Signed-off-by: lanming1120 <lanming1120@126.com>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 22, 2023
Signed-off-by: lan1120 <lanming@huawei.com>

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#23045)

(cherry picked from commit e8e95f20a9b00ca62d407263110663eba7614683)
Signed-off-by: lanming1120 <lanming1120@126.com>
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Signed-off-by: lan1120 <lanming@huawei.com>

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#23045)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Merge to master branch branch: 3.2 Merge to openssl-3.2 tests: exempted The PR is exempt from requirements for testing triaged: bug The issue/pr is/fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants