Skip to content

Commit

Permalink
proxy: let proxy build without openssl installed
Browse files Browse the repository at this point in the history
If proxy specific TLS features were not enabled we were still including
the openssl headers.
  • Loading branch information
dormando committed Jun 17, 2024
1 parent 90f1d91 commit aeb1ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

#include "proxy.h"
#include "proxy_tls.h"
#ifdef PROXY_TLS
#include <openssl/ssl.h>
#include <openssl/err.h>

#ifdef PROXY_TLS
/* Notes on ERR_clear_error() and friends:
* - Errors from SSL calls leave errors on a thread-local "error stack"
* - If an error is received from an SSL call, the stack needs to be inspected
Expand Down

0 comments on commit aeb1ea1

Please sign in to comment.