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

Allow for sending data over DTLS #45

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Allow for sending data over DTLS #45

merged 2 commits into from
Aug 20, 2024

Conversation

LVala
Copy link
Member

@LVala LVala commented Aug 16, 2024

I added an override for bundlex because it throws compilation warnings, but ideally we'd want to bump it in unifex I think.

@LVala LVala self-assigned this Aug 16, 2024
@LVala LVala marked this pull request as ready for review August 16, 2024 10:29
@LVala LVala requested review from mickel8 and sgfn August 16, 2024 10:29
Copy link
Member

@sgfn sgfn left a comment

Choose a reason for hiding this comment

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


BIO *wbio = SSL_get_wbio(state->ssl);
size_t pending_data_len = BIO_ctrl_pending(wbio);
if (pending_data_len <= 0) {
Copy link
Member

Choose a reason for hiding this comment

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

[nitpick] Since it's a size_t

Suggested change
if (pending_data_len <= 0) {
if (pending_data_len == 0) {

@LVala LVala merged commit dff8ec1 into master Aug 20, 2024
2 checks passed
@LVala LVala deleted the sending branch August 20, 2024 09:18
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.

2 participants