Linux: Fix failure to run VeraCrypt binary built for console mode on headless machines (fix issue https://github.com/veracrypt/VeraCrypt/issues/531)

This commit is contained in:
Mounir IDRASSI 2019-11-18 00:58:22 +01:00
parent 6b1da98d91
commit 737e1f126b
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F

View File

@ -47,9 +47,7 @@ namespace VeraCrypt
virtual void ExportSecurityTokenKeyfile () const; virtual void ExportSecurityTokenKeyfile () const;
virtual shared_ptr <GetStringFunctor> GetAdminPasswordRequestHandler (); virtual shared_ptr <GetStringFunctor> GetAdminPasswordRequestHandler ();
virtual void ImportSecurityTokenKeyfiles () const; virtual void ImportSecurityTokenKeyfiles () const;
#ifndef TC_NO_GUI
virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); } virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); }
#endif
virtual void InitSecurityTokenLibrary () const; virtual void InitSecurityTokenLibrary () const;
virtual void ListSecurityTokenKeyfiles () const; virtual void ListSecurityTokenKeyfiles () const;
virtual VolumeInfoList MountAllDeviceHostedVolumes (MountOptions &options) const; virtual VolumeInfoList MountAllDeviceHostedVolumes (MountOptions &options) const;