projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set minimum (the special value) timeout to 0
[quassel.git]
/
src
/
core
/
cipher.cpp
diff --git
a/src/core/cipher.cpp
b/src/core/cipher.cpp
index
5ca3129
..
15a986b
100644
(file)
--- a/
src/core/cipher.cpp
+++ b/
src/core/cipher.cpp
@@
-35,8
+35,10
@@
Cipher::~Cipher()
bool Cipher::setKey(QByteArray key)
{
- if (key.isEmpty())
+ if (key.isEmpty()) {
+ m_key.clear();
return false;
+ }
if (key.mid(0, 4).toLower() == "ecb:")
{