Source: libewf Version: 20140807-2 Followup-For: Bug #1006393 X-Debbugs-Cc: [email protected]
Dear Maintainer, I forgot to attach the patch file, sorry. Kindly find it in the attachment. Best, Fukui -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.16.0-1-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
>From 2be63f67857e0857ea7691908f14523c07fc227f Mon Sep 17 00:00:00 2001 From: Joachim Metz <[email protected]> Date: Thu, 18 Nov 2021 06:51:25 +0100 Subject: [PATCH] Changes for building with OpenSSL 3 #164 --- ewftools/ewftools_output.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/ewftools/ewftools_output.c b/ewftools/ewftools_output.c index c7c25ee5..a009eb7e 100644 --- a/ewftools/ewftools_output.c +++ b/ewftools/ewftools_output.c @@ -238,12 +238,22 @@ void ewftools_output_version_detailed_fprint( LIBHMAC_VERSION_STRING ); #if defined( HAVE_LIBCRYPTO ) +#if defined( SHLIB_VERSION_NUMBER ) fprintf( stream, " (libcrypto %s)", SHLIB_VERSION_NUMBER ); -#endif -#endif + +#elif defined( OPENSSL_VERSION_MAJOR ) && defined( OPENSSL_VERSION_MINOR ) + fprintf( + stream, + " (libcrypto %d.%d)", + OPENSSL_VERSION_MAJOR, + OPENSSL_VERSION_MINOR ); + +#endif /* defined( SHLIB_VERSION_NUMBER ) */ +#endif /* defined( HAVE_LIBCRYPTO ) */ +#endif /* defined( HAVE_LIBHMAC ) || defined( HAVE_LOCAL_LIBHMAC ) */ #if defined( HAVE_LIBODRAW ) || defined( HAVE_LOCAL_LIBODRAW ) fprintf( -- 2.35.1

