1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-20 02:42:09 +03:00

Add support for a wolfSSL crypto backend. (#629)

It uses wolfSSL's OpenSSL compatibility layer, so rather than introduce new
wolfssl.h/c files, the new backend just reuses openssl.h/c. Additionally,
replace EVP_Cipher() calls with EVP_CipherUpdate(), since EVP_Cipher() is not
recommended.

Credit: Hayden Roche
This commit is contained in:
Hayden Roche
2022-01-06 10:25:34 -08:00
committed by GitHub
parent e24a4a9d48
commit 17c9c1fcdf
7 changed files with 69 additions and 15 deletions

View File

@@ -38,7 +38,7 @@
* OF SUCH DAMAGE.
*/
#ifdef LIBSSH2_OPENSSL
#if defined(LIBSSH2_OPENSSL) || defined(LIBSSH2_WOLFSSL)
#include "openssl.h"
#endif