Blame SOURCES/0002-enable-openssl.patch

4d1074
diff --git a/lib/subdir.am b/lib/subdir.am
4d1074
index 0b7af18..0533e24 100644
4d1074
--- a/lib/subdir.am
4d1074
+++ b/lib/subdir.am
4d1074
@@ -41,7 +41,6 @@ lib_libfrr_la_SOURCES = \
4d1074
 	lib/log.c \
ce3795
 	lib/log_filter.c \
ce3795
 	lib/log_vty.c \
4d1074
-	lib/md5.c \
4d1074
 	lib/memory.c \
ce3795
 	lib/mlag.c \
4d1074
 	lib/module.c \
4d1074
diff --git a/lib/subdir.am b/lib/subdir.am
4d1074
index 0533e24..b3d3700 100644
4d1074
--- a/lib/subdir.am
4d1074
+++ b/lib/subdir.am
4d1074
@@ -170,7 +170,6 @@ pkginclude_HEADERS += \
4d1074
 	lib/linklist.h \
4d1074
 	lib/log.h \
ce3795
 	lib/log_vty.h \
4d1074
-	lib/md5.h \
4d1074
 	lib/memory.h \
4d1074
 	lib/module.h \
ce3795
 	lib/monotime.h \
4d1074
diff --git a/lib/subdir.am b/lib/subdir.am
4d1074
index 53f7115..cea866f 100644
4d1074
--- a/lib/subdir.am
4d1074
+++ b/lib/subdir.am
4d1074
@@ -64,7 +64,6 @@ lib_libfrr_la_SOURCES = \
ce3795
 	lib/routemap_northbound.c \
4d1074
 	lib/sbuf.c \
ce3795
 	lib/seqlock.c \
4d1074
-	lib/sha256.c \
4d1074
 	lib/sigevent.c \
4d1074
 	lib/skiplist.c \
4d1074
 	lib/sockopt.c \
4d1074
@@ -191,7 +190,6 @@ pkginclude_HEADERS += \
4d1074
 	lib/routemap.h \
4d1074
 	lib/sbuf.h \
ce3795
 	lib/seqlock.h \
4d1074
-	lib/sha256.h \
4d1074
 	lib/sigevent.h \
4d1074
 	lib/skiplist.h \
4d1074
 	lib/smux.h \
4d1074
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
4d1074
index 1991666..2e4fe55 100644
4d1074
--- a/isisd/isis_lsp.c
4d1074
+++ b/isisd/isis_lsp.c
4d1074
@@ -35,7 +35,9 @@
4d1074
 #include "hash.h"
4d1074
 #include "if.h"
4d1074
 #include "checksum.h"
4d1074
+#ifdef CRYPTO_INTERNAL
4d1074
 #include "md5.h"
4d1074
+#endif
4d1074
 #include "table.h"
4d1074
 #include "srcdest_table.h"
4d1074
 #include "lib_errors.h"
4d1074
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c
4d1074
index 9c63311..7cf594c 100644
4d1074
--- a/isisd/isis_pdu.c
4d1074
+++ b/isisd/isis_pdu.c
4d1074
@@ -33,7 +33,9 @@
4d1074
 #include "prefix.h"
4d1074
 #include "if.h"
4d1074
 #include "checksum.h"
4d1074
+#ifdef CRYPTO_INTERNAL
4d1074
 #include "md5.h"
4d1074
+#endif
4d1074
 #include "lib_errors.h"
4d1074
 
ce3795
 #include "isisd/isis_constants.h"
4d1074
diff --git a/isisd/isis_te.c b/isisd/isis_te.c
4d1074
index 4ea6c2c..72ff0d2 100644
4d1074
--- a/isisd/isis_te.c
4d1074
+++ b/isisd/isis_te.c
4d1074
@@ -38,7 +38,9 @@
4d1074
 #include "if.h"
4d1074
 #include "vrf.h"
4d1074
 #include "checksum.h"
4d1074
+#ifdef CRYPTO_INTERNAL
4d1074
 #include "md5.h"
4d1074
+#endif
4d1074
 #include "sockunion.h"
4d1074
 #include "network.h"
4d1074
 #include "sbuf.h"