-
Notifications
You must be signed in to change notification settings - Fork 709
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls: add feature to build against OpenSSL
This adds a new feature "openssl" to build against OpenSSL instead of BoringSSL. We need this because the OpenSSL and BoringSSL APIs are not fully compatible (e.g. some "functions" are actually macros wrapping SSL_ctrl()). To build OpenSSL do: ``` % git clone --branch=master-quic-support https://github.com/akamai/openssl/ % cd openssl % export OPENSSL_INSTALL_PATH=$PWD/build % ./config enable-tls1_3 --prefix=$OPENSSL_INSTALL_PATH % make -j$(nproc) % make install_sw ``` To build quiche using the above OpenSSL build do: ``` % export PKG_CONFIG_PATH=$OPENSSL_INSTALL_PATH/lib/pkgconfig % export LD_LIBRARY_PATH=$OPENSSL_INSTALL_PATH/lib % cargo test --features openssl ```
- Loading branch information
Showing
3 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters