summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--cypher.cpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5ce913a..f2bc367 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,8 @@ OBJS = anytun.o \
log.o \
options.o \
seqWindow.o \
- $(OPENVPNDEPS)
+ $(OPENVPNDEPS) \
+ /usr/local/lib/libsrtp.a
EXECUTABLE = anytun
@@ -62,7 +63,7 @@ buffer.o: buffer.cpp buffer.h
packet.o: packet.cpp packet.h buffer.h
$(C++) $(CCFLAGS) $< -c
-cypher.o: cypher.cpp cypher.h buffer.h srtp/libsrtp.a
+cypher.o: cypher.cpp cypher.h buffer.h
$(C++) $(CCFLAGS) $< -c
authAlgo.o: authAlgo.cpp authAlgo.h buffer.h
diff --git a/cypher.cpp b/cypher.cpp
index 03688f2..17668a7 100644
--- a/cypher.cpp
+++ b/cypher.cpp
@@ -36,7 +36,7 @@
#include "cypher.h"
extern "C" {
-#include "srtp/crypto/include/crypto_kernel.h"
+#include <srtp/crypto_kernel.h>
}
void Cypher::cypher(Buffer& buf)