Skip to content

tls: remove the BACKEND define - #5122

Closed
bagder wants to merge 7 commits into
masterfrom
bagder/tls-backend-cleanup
Closed

bagder wants to merge 7 commits into
masterfrom
bagder/tls-backend-cleanup

Conversation

@bagder

@bagder bagder commented Mar 18, 2020 •

Copy link
Copy Markdown
Member

The use of #define BACKEND connssl->backend in the TLS backends is a discouraged way of writing code, it hides what's actually happening, it makes the code harder to follow and it makes it more complicated to work with using debuggers. Remove.

This PR does not remove the define from all backends, only from the ones I was able to build locally.

@bagder bagder closed this in cb2f57c Mar 19, 2020
@bagder
bagder deleted the bagder/tls-backend-cleanup branch March 19, 2020 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant