From 1ee93df3b4adc891b83b05dd82bc6de851898f62 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 13 Jul 2024 10:14:52 +0200 Subject: Linux: fix linker type confusion that was causing crash. The class AdminPasswordRequestHandler was defined in several places in the same namespace and the linker was picking up one definition for constructor and the other one when calling virtual method. Now we use different named for different implementations. --- src/Main/TextUserInterface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Main/TextUserInterface.h') diff --git a/src/Main/TextUserInterface.h b/src/Main/TextUserInterface.h index 44494f32..34a7cb40 100644 --- a/src/Main/TextUserInterface.h +++ b/src/Main/TextUserInterface.h @@ -19,11 +19,11 @@ namespace VeraCrypt { - class AdminPasswordRequestHandler; + class AdminPasswordTextRequestHandler; class TextUserInterface : public UserInterface { public: - friend class AdminPasswordRequestHandler; + friend class AdminPasswordTextRequestHandler; TextUserInterface (); virtual ~TextUserInterface (); -- cgit v1.2.3