diff --git a/src/protocol/Makefile.am b/src/protocol/Makefile.am index 47246595..18d1971b 100644 --- a/src/protocol/Makefile.am +++ b/src/protocol/Makefile.am @@ -69,7 +69,8 @@ libnoiseprotocol_a_SOURCES += \ else !USE_OPENSSL if USE_LIBSODIUM libnoiseprotocol_a_SOURCES += \ - ../backend/sodium/cipher-aesgcm.c + ../backend/sodium/cipher-aesgcm.c \ + ../backend/ref/cipher-aesgcm.c else libnoiseprotocol_a_SOURCES += \ ../backend/ref/cipher-aesgcm.c @@ -79,6 +80,7 @@ endif if USE_LIBSODIUM libnoiseprotocol_a_SOURCES += \ rand_sodium.c \ + ../crypto/ghash/ghash.c \ ../backend/sodium/cipher-aesgcm.c \ ../backend/sodium/cipher-chachapoly.c \ ../backend/sodium/dh-curve25519.c \