From: Eric Bollengier Date: Mon, 21 Nov 2022 08:31:44 +0000 (+0100) Subject: Fix compilation without openssl X-Git-Tag: Beta-15.0.0~348 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39781899c218dce75f071e331cd765ca95c8be5e;p=thirdparty%2Fbacula.git Fix compilation without openssl --- diff --git a/bacula/src/lib/crypto.c b/bacula/src/lib/crypto.c index 8ab1a8b13..98357fef1 100644 --- a/bacula/src/lib/crypto.c +++ b/bacula/src/lib/crypto.c @@ -37,6 +37,7 @@ #include "bacula.h" #include "jcr.h" #include +#include "xxhash.h" /** * For OpenSSL version 1.x, EVP_PKEY_encrypt no longer @@ -132,7 +133,6 @@ #ifdef HAVE_OPENSSL /* How about OpenSSL? */ #include "openssl-compat.h" -#include "xxhash.h" /* ASN.1 Declarations */ #define BACULA_ASN1_VERSION 0