Author: Bastian Germann       vim:ft=diff:
Description: Link with wolfssl instead of libcrypto.

--- a/cmake/FindCrypto.cmake
+++ b/cmake/FindCrypto.cmake
@@ -1,8 +1,8 @@
 # OpenSSL crypto library
 
-find_path(CRYPTO_INCLUDE_DIR openssl/md5.h)
+find_path(CRYPTO_INCLUDE_DIR openssl/md5.h /usr/include/wolfssl)
 
-find_library(CRYPTO_LIBRARY crypto)
+find_library(CRYPTO_LIBRARY wolfssl)
 
 # handle the QUIETLY and REQUIRED arguments and set XXX_FOUND to TRUE if all listed variables are TRUE
 INCLUDE(FindPackageHandleStandardArgs)
