diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2016-06-03 22:29:34 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-06-24 01:03:11 +0300 |
commit | f03b74db2d09efdf934b7d13e9cf8be032c5ce74 (patch) | |
tree | 8e6e4d8236466844105dc4c99594c3be3666f23b /src/Connection.h | |
parent | f260bd19133086b993a4a0cd027293153b4a15f0 (diff) |
Add mutex for csCrypt usage in Murmur.
Diffstat (limited to 'src/Connection.h')
-rw-r--r-- | src/Connection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Connection.h b/src/Connection.h index 7060e2403..030f67037 100644 --- a/src/Connection.h +++ b/src/Connection.h @@ -67,6 +67,10 @@ class Connection : public QObject { qint64 activityTime() const; void resetActivityTime(); +#ifdef MURMUR + /// qmCrypt locks access to csCrypt. + QMutex qmCrypt; +#endif CryptState csCrypt; QList<QSslCertificate> peerCertificateChain() const; |