Skip to content

Commit

Permalink
[fix] Ignore deprecated SSLv2 and SSLv3 encryptions (#530)
Browse files Browse the repository at this point in the history
* [fix] Ignore deprecated SSLv2 and SSLv3 encryptions

* Bumping luasec takes care of proper TLS encryption.

* Bump OpenSSL to 1.0.1u and disable insecure deprecated SSLv2 and SSLv3.
I wanted to update it to OpenSSL_1_0_2l, but the Travis Clang build failed for mysterious reasons. 1.0.1u seems to work, so updating OpenSSL to a more recent version can wait for another day.
  • Loading branch information
Frenzie committed Oct 2, 2017
1 parent 599d3d2 commit ccb3ce1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion thirdparty/luasec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ endif()
ko_write_gitclone_script(
GIT_CLONE_SCRIPT_FILENAME
https://github.com/brunoos/luasec
dd9688cf12479afc21178638b0b41d640d9274c2
luasec-0.7alpha
${SOURCE_DIR}
)

Expand Down
6 changes: 3 additions & 3 deletions thirdparty/openssl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ else()
set(CFG_ENV_VAR "")
set(CFG_OPTS "shared")
endif()
set(CFG_OPTS "${CFG_OPTS} no-asm no-idea no-mdc2 no-rc5 enable-ssl2")
set(CFG_OPTS "${CFG_OPTS} no-asm no-idea no-mdc2 no-rc5 no-ssl2 no-ssl3")
set(CFG_CMD sh -c "${CFG_ENV_VAR} ${SOURCE_DIR}/${CONFIG_SCRIPT} ${CFG_OPTS}")

set(BUILD_CMD "$(MAKE) CC=\"${CC}\" SHARED_LDFLAGS=\"${SHARED_LDFLAGS}\" LD=\"${LD}\" RANLIB=\"${RANLIB}\"")
set(BUILD_CMD "$(MAKE) depend && $(MAKE) CC=\"${CC}\" SHARED_LDFLAGS=\"${SHARED_LDFLAGS}\" LD=\"${LD}\" RANLIB=\"${RANLIB}\"")
set(BUILD_CMD sh -c "${BUILD_CMD} --silent depend build_crypto build_ssl >/dev/null 2>&1")

ko_write_gitclone_script(
GIT_CLONE_SCRIPT_FILENAME
https://github.com/openssl/openssl.git
OpenSSL_1_0_1t
OpenSSL_1_0_1u
${SOURCE_DIR}
)

Expand Down

0 comments on commit ccb3ce1

Please sign in to comment.