Added wolfSSL Compatability for Asio #383
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR enables the user to compile a program using Asio with the current version of wolfSSL instead of OpenSSL.
To build wolfSSL and configure wolfSSL for Asio use, clone the wolfSSL repo from Github and execute the following commands from the root directory.
After, to build Asio with wolfSSL to make use of the Asio unit tests, run the following commands from the asio/asio/ directory.
To build an application using wolfSSL with Asio, do it the same, except add #include<wolfssl/options.h> to the top of an application file that uses SSL or TLS. An example command to compile the application correctly is as follows.
g++ app.cpp -I/usr/local/include/wolfssl -lwolfssl -lpthread
For more questions or to learn more about wolfSSL please visit our website.