Skip to content

tls-openssl.c: Handle errors in read/write operations#1506

Open
zdohnal wants to merge 1 commit intoOpenPrinting:masterfrom
zdohnal:openssl-write-error-handle
Open

tls-openssl.c: Handle errors in read/write operations#1506
zdohnal wants to merge 1 commit intoOpenPrinting:masterfrom
zdohnal:openssl-write-error-handle

Conversation

@zdohnal
Copy link
Member

@zdohnal zdohnal commented Mar 4, 2026

Openssl functions return values <= 0, so we have to handle them separately to process the errors later together in the same code segment.

@zdohnal zdohnal requested a review from michaelrsweet March 4, 2026 11:23
Openssl functions return values <= 0, so we have to handle them
separately to process the errors later together in the same code
segment.
Copy link
Member

@michaelrsweet michaelrsweet left a comment

Choose a reason for hiding this comment

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

Looks reasonable enough, would be nice to get more detailed errors but at this level we really don't have a way to bubble those up...

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