79 lines
1.7 KiB
Diff
79 lines
1.7 KiB
Diff
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
|
|
index e3de6f08c..378f6960d 100644
|
|
--- a/isisd/isis_lsp.c
|
|
+++ b/isisd/isis_lsp.c
|
|
@@ -35,7 +35,9 @@
|
|
#include "hash.h"
|
|
#include "if.h"
|
|
#include "checksum.h"
|
|
+#ifdef CRYPTO_INTERNAL
|
|
#include "md5.h"
|
|
+#endif
|
|
#include "table.h"
|
|
#include "srcdest_table.h"
|
|
#include "lib_errors.h"
|
|
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c
|
|
index 7256fcbbc..43e123b03 100644
|
|
--- a/isisd/isis_pdu.c
|
|
+++ b/isisd/isis_pdu.c
|
|
@@ -33,7 +33,9 @@
|
|
#include "prefix.h"
|
|
#include "if.h"
|
|
#include "checksum.h"
|
|
+#ifdef CRYPTO_INTERNAL
|
|
#include "md5.h"
|
|
+#endif
|
|
#include "lib_errors.h"
|
|
|
|
#include "isisd/isis_constants.h"
|
|
diff --git a/isisd/isis_te.c b/isisd/isis_te.c
|
|
index 8daa2b36b..fdb2bb92a 100644
|
|
--- a/isisd/isis_te.c
|
|
+++ b/isisd/isis_te.c
|
|
@@ -39,7 +39,9 @@
|
|
#include "if.h"
|
|
#include "vrf.h"
|
|
#include "checksum.h"
|
|
+#ifdef CRYPTO_INTERNAL
|
|
#include "md5.h"
|
|
+#endif
|
|
#include "sockunion.h"
|
|
#include "network.h"
|
|
#include "sbuf.h"
|
|
diff --git a/lib/subdir.am b/lib/subdir.am
|
|
index dab5fb9e8..924b7eccf 100644
|
|
--- a/lib/subdir.am
|
|
+++ b/lib/subdir.am
|
|
@@ -53,7 +53,6 @@ lib_libfrr_la_SOURCES = \
|
|
lib/log.c \
|
|
lib/log_filter.c \
|
|
lib/log_vty.c \
|
|
- lib/md5.c \
|
|
lib/memory.c \
|
|
lib/mlag.c \
|
|
lib/module.c \
|
|
@@ -82,7 +81,6 @@ lib_libfrr_la_SOURCES = \
|
|
lib/routemap_northbound.c \
|
|
lib/sbuf.c \
|
|
lib/seqlock.c \
|
|
- lib/sha256.c \
|
|
lib/sigevent.c \
|
|
lib/skiplist.c \
|
|
lib/sockopt.c \
|
|
@@ -220,7 +218,6 @@ pkginclude_HEADERS += \
|
|
lib/link_state.h \
|
|
lib/log.h \
|
|
lib/log_vty.h \
|
|
- lib/md5.h \
|
|
lib/memory.h \
|
|
lib/module.h \
|
|
lib/monotime.h \
|
|
@@ -250,7 +247,6 @@ pkginclude_HEADERS += \
|
|
lib/route_opaque.h \
|
|
lib/sbuf.h \
|
|
lib/seqlock.h \
|
|
- lib/sha256.h \
|
|
lib/sigevent.h \
|
|
lib/skiplist.h \
|
|
lib/smux.h \
|