Fix config loading
This commit is contained in:
parent
aceeb2644f
commit
5603a8b8d1
@ -8,6 +8,7 @@
|
||||
#include "CryConfigEncryptor.h"
|
||||
|
||||
namespace cryfs {
|
||||
//TODO Test
|
||||
template<class Cipher>
|
||||
class ConcreteCryConfigEncryptor: public CryConfigEncryptor {
|
||||
public:
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include "kdf/Scrypt.h"
|
||||
|
||||
namespace cryfs {
|
||||
//TODO Test
|
||||
class CryConfigEncryptorFactory {
|
||||
public:
|
||||
template<class Cipher>
|
||||
|
@ -96,6 +96,7 @@ CryConfigFile loadOrCreateConfig(const ProgramOptions &options) {
|
||||
std::cerr << "Could not load config file. Did you enter the correct password?" << std::endl;
|
||||
exit(1);
|
||||
}
|
||||
return *config;
|
||||
} catch (const std::exception &e) {
|
||||
std::cerr << "Error: " << e.what() << std::endl;
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user