From 93a63b282a8e0fac5061504750b109b7e9579753 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 4 Aug 2011 19:06:47 +0200 Subject: [PATCH] Fix compilation problem with LZO patch --- bacula/src/findlib/bfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/findlib/bfile.c b/bacula/src/findlib/bfile.c index fbcac7d562..2c8884ccee 100644 --- a/bacula/src/findlib/bfile.c +++ b/bacula/src/findlib/bfile.c @@ -456,8 +456,6 @@ bool is_restore_stream_supported(int stream) case STREAM_COMPRESSED_DATA: case STREAM_SPARSE_COMPRESSED_DATA: case STREAM_WIN32_COMPRESSED_DATA: - case STREAM_ENCRYPTED_FILE_COMPRESSED_DATA: - case STREAM_ENCRYPTED_WIN32_COMPRESSED_DATA: #endif case STREAM_WIN32_DATA: case STREAM_UNIX_ATTRIBUTES: @@ -478,9 +476,11 @@ bool is_restore_stream_supported(int stream) case STREAM_ENCRYPTED_FILE_GZIP_DATA: case STREAM_ENCRYPTED_WIN32_DATA: case STREAM_ENCRYPTED_WIN32_GZIP_DATA: +#ifdef HAVE_LZO case STREAM_ENCRYPTED_FILE_COMPRESSED_DATA: case STREAM_ENCRYPTED_WIN32_COMPRESSED_DATA: #endif +#endif /* !HAVE_CRYPTO */ case 0: /* compatibility with old tapes */ return true; } -- 2.39.5