]> git.meshlink.io Git - meshlink/commitdiff
Check whether OpenSSL has support for GCM.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 7 Feb 2014 20:40:29 +0000 (21:40 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 7 Feb 2014 20:40:29 +0000 (21:40 +0100)
README
m4/openssl.m4

diff --git a/README b/README
index e67d401c254cbdaeba762c40e1b9e91e72f1dc31..6a614112dc2311b05ea266b936688300e35e5f17 100644 (file)
--- 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:
 
index 922e4682927058729266fafc7436467101a43178..27c16db05182b4f02fb2ceb105e79d17b094794d 100644 (file)
@@ -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 <openssl/evp.h>]
   )