Check whether OpenSSL has support for GCM.
This commit is contained in:
parent
cdda0388a8
commit
cb5c1b5986
2 changed files with 2 additions and 2 deletions
2
README
2
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:
|
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
|
- 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:
|
The following libraries are used by default, but can be disabled if necessary:
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ AC_DEFUN([tinc_OPENSSL],
|
||||||
[AC_MSG_ERROR([Missing OpenSSL functionality, make sure you have installed the latest version.]); break],
|
[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],
|
[AC_MSG_ERROR([Missing OpenSSL functionality, make sure you have installed the latest version.]); break],
|
||||||
[#include <openssl/evp.h>]
|
[#include <openssl/evp.h>]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue