Skip to content

Commit

Permalink
[build] Switch default enclib from openssl to openssl-evp
Browse files Browse the repository at this point in the history
  • Loading branch information
yomnes0 authored and maxsharabayko committed Apr 11, 2024
1 parent 83077aa commit c156dab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ if (NOT USE_ENCLIB)
message("NOTE: USE_GNUTLS is deprecated. Use -DUSE_ENCLIB=gnutls instead.")
set (USE_ENCLIB gnutls)
else()
set (USE_ENCLIB openssl)
set (USE_ENCLIB openssl-evp)
endif()
endif()

set(USE_ENCLIB "${USE_ENCLIB}" CACHE STRING "The crypto library that SRT uses")
set_property(CACHE USE_ENCLIB PROPERTY STRINGS "openssl" "gnutls" "mbedtls" "botan")
set_property(CACHE USE_ENCLIB PROPERTY STRINGS "openssl" "openssl-evp" "gnutls" "mbedtls" "botan")

# Make sure DLLs and executabes go to the same path regardles of subdirectory
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
Expand Down
4 changes: 2 additions & 2 deletions docs/build/build-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,8 @@ remember that:

Encryption library to be used. Possible options for `<name>`:

* openssl (default)
* openssl-evp (OpenSSL EVP API, since 1.5.1)
* openssl-evp (default)
* openssl
* gnutls (with nettle)
* mbedtls
* botan
Expand Down

0 comments on commit c156dab

Please sign in to comment.