aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/crypto/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/crypto.h')
-rw-r--r--src/crypto/crypto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crypto/crypto.h b/src/crypto/crypto.h
index 1ed7582..c0b3d18 100644
--- a/src/crypto/crypto.h
+++ b/src/crypto/crypto.h
@@ -32,7 +32,9 @@ namespace Crypto {
class CryptoException {
public:
string text;
- CryptoException( string s_text ) : text( s_text ) {};
+ bool fatal;
+ CryptoException( string s_text, bool s_fatal = false )
+ : text( s_text ), fatal( s_fatal ) {};
};
class Base64Key {