projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tincctl init when /etc/tinc does not yet exist.
[tinc]
/
m4
/
openssl.m4
diff --git
a/m4/openssl.m4
b/m4/openssl.m4
index
254ea4f
..
922e468
100644
(file)
--- a/
m4/openssl.m4
+++ b/
m4/openssl.m4
@@
-35,7
+35,7
@@
AC_DEFUN([tinc_OPENSSL],
LDFLAGS="$LDFLAGS -L$withval"]
)
LDFLAGS="$LDFLAGS -L$withval"]
)
- AC_CHECK_HEADERS(
openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h openssl/engine.h
,
+ AC_CHECK_HEADERS(
[openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h openssl/engine.h openssl/ecdh.h openssl/ec.h]
,
[],
[AC_MSG_ERROR([OpenSSL header files not found.]); break]
)
[],
[AC_MSG_ERROR([OpenSSL header files not found.]); break]
)
@@
-45,7
+45,7
@@
AC_DEFUN([tinc_OPENSSL],
[AC_MSG_ERROR([OpenSSL libraries not found.])]
)
[AC_MSG_ERROR([OpenSSL libraries not found.])]
)
- AC_CHECK_FUNCS([RAND_pseudo_bytes EVP_EncryptInit_ex], ,
+ AC_CHECK_FUNCS([RAND_pseudo_bytes EVP_EncryptInit_ex
ECDH_compute_key ECDSA_verify
], ,
[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],
)