Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/keys
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2017-02-24 22:44:06 +0300
committerJanek Bevendorff <janek@jbev.net>2017-02-24 22:50:06 +0300
commit9a94c6d85e9d3c3dc9b3ef0acb7715c2b6a6129d (patch)
treecb3d1275c9d1c4a001c415f4f73640b7229ad091 /src/keys
parent46942413db9a9b41e86180e19b9f13fd01c5be3e (diff)
Remove debug output to reduce console spam when running in debug mode
Diffstat (limited to 'src/keys')
-rw-r--r--src/keys/drivers/YubiKey.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/keys/drivers/YubiKey.cpp b/src/keys/drivers/YubiKey.cpp
index a490f0699..ffb48fc74 100644
--- a/src/keys/drivers/YubiKey.cpp
+++ b/src/keys/drivers/YubiKey.cpp
@@ -192,10 +192,6 @@ YubiKey::ChallengeResult YubiKey::challenge(int slot, bool mayBlock, const QByte
c = reinterpret_cast<const unsigned char*>(paddedChallenge.constData());
r = reinterpret_cast<unsigned char*>(response.data());
-#ifdef QT_DEBUG
- qDebug().nospace() << __func__ << "(" << slot << ") c = " << printByteArray(paddedChallenge);
-#endif
-
int ret = yk_challenge_response(m_yk, yk_cmd, mayBlock, paddedChallenge.size(), c, response.size(), r);
emit challenged();
@@ -227,9 +223,5 @@ YubiKey::ChallengeResult YubiKey::challenge(int slot, bool mayBlock, const QByte
// actual HMAC-SHA1 response is only 20 bytes
response.resize(20);
-#ifdef QT_DEBUG
- qDebug().nospace() << __func__ << "(" << slot << ") r = " << printByteArray(response) << ", ret = " << ret;
-#endif
-
return SUCCESS;
}