mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 02:34:59 +00:00
Merge pull request #9 from blinkingtwelve/master
Allow TLS in addition to SSL3
This commit is contained in:
commit
1050238587
2 changed files with 3 additions and 3 deletions
4
Makefile
4
Makefile
|
|
@ -46,9 +46,9 @@ OPTFLAGS += -DSO_REUSEPORT
|
|||
|
||||
# END system dependant block
|
||||
|
||||
SSL_LIBS := $(shell pkg-config --libs libssl 2>/dev/null)
|
||||
ifeq ($(SSL_LIBS),)
|
||||
SSL_LIBS := $(shell pkg-config --libs openssl 2>/dev/null)
|
||||
ifeq ($(SSL_LIBS),)
|
||||
SSL_LIBS := $(shell pkg-config --libs libssl 2>/dev/null)
|
||||
endif
|
||||
ifeq ($(SSL_LIBS),)
|
||||
SSL_LIBS := -lssl -lcrypto
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ int stream_enable_ssl(PTSTREAM *pts) {
|
|||
|
||||
/* Initialise the connection */
|
||||
SSLeay_add_ssl_algorithms();
|
||||
meth = SSLv3_client_method();
|
||||
meth = SSLv23_client_method();
|
||||
SSL_load_error_strings();
|
||||
|
||||
ctx = SSL_CTX_new (meth);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue