Add support for OpenSSL 3.0+
[tinc] / src / Makefile.am
index 0d79c90..dc124b1 100644 (file)
@@ -223,43 +223,47 @@ tincd_SOURCES += \
        openssl/crypto.c \
        openssl/digest.c openssl/digest.h \
        openssl/prf.c \
-       openssl/rsa.c
+       openssl/rsa.c \
+       openssl/log.c openssl/log.h
 tinc_SOURCES += \
        openssl/cipher.c openssl/cipher.h \
        openssl/crypto.c \
        openssl/digest.c openssl/digest.h \
        openssl/prf.c \
        openssl/rsa.c \
-       openssl/rsagen.c
+       openssl/rsagen.c \
+       openssl/log.c openssl/log.h
 sptps_test_SOURCES += \
        openssl/crypto.c \
        openssl/digest.c openssl/digest.h \
-       openssl/prf.c
+       openssl/prf.c \
+       openssl/log.c openssl/log.h
 sptps_keypair_SOURCES += \
        openssl/crypto.c
 sptps_speed_SOURCES += \
        openssl/crypto.c \
        openssl/digest.c openssl/digest.h \
-       openssl/prf.c
+       openssl/prf.c \
+       openssl/log.c openssl/log.h
 else
 if GCRYPT
 tincd_SOURCES += \
-       gcrypt/cipher.c \
+       gcrypt/cipher.c gcrypt/cipher.h \
        gcrypt/crypto.c \
        gcrypt/digest.c gcrypt/digest.h \
        gcrypt/pem.c gcrypt/pem.h \
        gcrypt/prf.c \
-       gcrypt/rsa.c
+       gcrypt/rsa.c gcrypt/rsa.h
 tinc_SOURCES += \
-       gcrypt/cipher.c \
+       gcrypt/cipher.c gcrypt/cipher.h \
        gcrypt/crypto.c \
        gcrypt/digest.c gcrypt/digest.h \
        gcrypt/pem.c gcrypt/pem.h \
        gcrypt/prf.c \
-       gcrypt/rsa.c \
+       gcrypt/rsa.c gcrypt/rsa.h \
        gcrypt/rsagen.c
 sptps_test_SOURCES += \
-       gcrypt/cipher.c \
+       gcrypt/cipher.c gcrypt/cipher.h \
        gcrypt/crypto.c \
        gcrypt/digest.c gcrypt/digest.h \
        gcrypt/prf.c