projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Incomplete encryption of private keys.
[dcpomatic.git]
/
src
/
lib
/
exceptions.h
diff --git
a/src/lib/exceptions.h
b/src/lib/exceptions.h
index eceafa10501d656a55ef78961590ecaff72108b7..fe87ababcad292335b52ed07d0328c19484420bb 100644
(file)
--- a/
src/lib/exceptions.h
+++ b/
src/lib/exceptions.h
@@
-44,6
+44,14
@@
public:
{}
};
+class CryptoError : public std::runtime_error
+{
+public:
+ explicit CryptoError (std::string s)
+ : std::runtime_error (s)
+ {}
+};
+
/** @class EncodeError
* @brief A low-level problem with an encoder.
*/