/**
 * @file
 *
 * @brief tests if compilation works (include and build paths set correct, etc...)
 *
 * @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
 *
 */

#include <openssl/evp.h>

EVP_CIPHER_CTX * nothing (void)
{
	return NULL;
}

int main (void)
{
	nothing ();
	return 0;
}

/**
 * @file
 *
 * @brief tests if compilation works (include and build paths set correct, etc...)
 *
 * @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
 *
 */

#include <openssl/evp.h>

int main (void)
{
	EVP_CIPHER_CTX * opensslSpecificType;
	return 0;
}

--- 
+++ 
@@ -9,8 +9,13 @@
 
 #include <openssl/evp.h>
 
+EVP_CIPHER_CTX * nothing (void)
+{
+	return NULL;
+}
+
 int main (void)
 {
-	EVP_CIPHER_CTX * opensslSpecificType;
+	nothing ();
 	return 0;
 }
OpenSSL: Fix detection of lib if we use `-Werror`

Before this update detecting OpenSSL would fail, if we treated warnings
as errors (`-Werror`). The cause of this problem was that compiling
`compile_openssl.cpp` produced a warning about an unused variable.
