/**
 * @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 <gcrypt.h>

int main (void)
{
	gcry_cipher_hd_t elektraCryptoHandle;
	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 <gcrypt.h>

gcry_cipher_hd_t nothing ()
{
	gcry_cipher_hd_t elektraCryptoHandle = NULL;
	return elektraCryptoHandle;
}

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

Fix detection of lib if we use `-Werror`
Gcrypt: Fix detection of lib if we use `-Werror`

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