From: Guus Sliepen Date: Fri, 7 Feb 2014 20:40:29 +0000 (+0100) Subject: Check whether OpenSSL has support for GCM. X-Git-Tag: release-1.1pre10~1 X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=cb5c1b5986861361207fa244662bb2c7f3d6a3a4 Check whether OpenSSL has support for GCM. --- diff --git a/README b/README index e67d401c..6a614112 100644 --- a/README +++ b/README @@ -51,7 +51,7 @@ In order to compile tinc, you will need a GNU C compiler environment. Please ensure you have the latest stable versions of all the required libraries: - OpenSSL (http://www.openssl.org/) version 1.0.0 or later, with support for - elliptic curve cryptography (ECC) enabeld. + elliptic curve cryptography (ECC) and Galois counter mode (GCM) enabled. The following libraries are used by default, but can be disabled if necessary: diff --git a/m4/openssl.m4 b/m4/openssl.m4 index 922e4682..27c16db0 100644 --- a/m4/openssl.m4 +++ b/m4/openssl.m4 @@ -49,7 +49,7 @@ AC_DEFUN([tinc_OPENSSL], [AC_MSG_ERROR([Missing OpenSSL functionality, make sure you have installed the latest version.]); break], ) - AC_CHECK_DECL([OpenSSL_add_all_algorithms], , + AC_CHECK_DECLS([OpenSSL_add_all_algorithms, EVP_CTRL_GCM_GET_TAG], , [AC_MSG_ERROR([Missing OpenSSL functionality, make sure you have installed the latest version.]); break], [#include ] )