*: Remove Crypto openSSL define from zebra.h

Only a couple of places use this.  Move these to a better
spot.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2024-01-04 14:02:34 -05:00
parent 10387101fe
commit 2bf051a577
5 changed files with 21 additions and 5 deletions

View file

@ -13,6 +13,11 @@
#include <zebra.h>
#include <json-c/json_object.h>
#ifdef CRYPTO_OPENSSL
#include <openssl/evp.h>
#include <openssl/hmac.h>
#endif
#ifdef CRYPTO_INTERNAL
#include "md5.h"
#endif

View file

@ -83,11 +83,6 @@
#endif
#endif
#ifdef CRYPTO_OPENSSL
#include <openssl/evp.h>
#include <openssl/hmac.h>
#endif
#include "openbsd-tree.h"
#include <netinet/in.h>

View file

@ -4,6 +4,12 @@
*/
#include "zebra.h"
#ifdef CRYPTO_OPENSSL
#include <openssl/evp.h>
#include <openssl/hmac.h>
#endif
#include "config.h"
#include "memory.h"
#include "ospf6d.h"

View file

@ -6,6 +6,11 @@
#include <zebra.h>
#ifdef CRYPTO_OPENSSL
#include <openssl/evp.h>
#include <openssl/hmac.h>
#endif
#include "linklist.h"
#include "if.h"
#include "checksum.h"

View file

@ -6,6 +6,11 @@
#include <zebra.h>
#ifdef CRYPTO_OPENSSL
#include <openssl/evp.h>
#include <openssl/hmac.h>
#endif
#include "vrf.h"
#include "if.h"
#include "command.h"