From 51ec61745373caa4702604ee2d379066f90b6d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoran=20Peri=C4=8Di=C4=87?= Date: Sun, 8 Oct 2023 11:19:44 +0200 Subject: [PATCH 2/5] enable openssl --- isisd/isis_lsp.c | 2 ++ isisd/isis_pdu.c | 2 ++ isisd/isis_te.c | 2 ++ lib/subdir.am | 4 ---- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index 950d5f359..4cd792246 100644 --- a/isisd/isis_lsp.c +++ b/isisd/isis_lsp.c @@ -22,7 +22,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 0cd43a7ab..b2e114d73 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -20,7 +20,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 90b53c540..9d98c16e7 100644 --- a/isisd/isis_te.c +++ b/isisd/isis_te.c @@ -24,7 +24,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 d7b28ffbd..b2ee32168 100644 --- a/lib/subdir.am +++ b/lib/subdir.am @@ -63,7 +63,6 @@ lib_libfrr_la_SOURCES = \ lib/log.c \ lib/log_filter.c \ lib/log_vty.c \ - lib/md5.c \ lib/memory.c \ lib/mgmt_be_client.c \ lib/mgmt_fe_client.c \ @@ -95,7 +94,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 \ @@ -248,7 +246,6 @@ pkginclude_HEADERS += \ lib/link_state.h \ lib/log.h \ lib/log_vty.h \ - lib/md5.h \ lib/memory.h \ lib/mgmt.pb-c.h \ lib/mgmt_be_client.h \ @@ -283,7 +280,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 \ -- 2.41.0