mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-29 01:06:27 -05:00
Remove unused debug function
This commit is contained in:
parent
15dd783d2c
commit
429bef6830
@ -143,21 +143,6 @@ bool YubiKey::getSerial(unsigned int& serial)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef QT_DEBUG
|
|
||||||
/**
|
|
||||||
* @brief printByteArray - debug raw data
|
|
||||||
* @param a array input
|
|
||||||
* @return string representation of array
|
|
||||||
*/
|
|
||||||
static inline QString printByteArray(const QByteArray& a)
|
|
||||||
{
|
|
||||||
QString s;
|
|
||||||
for (int i = 0; i < a.size(); i++)
|
|
||||||
s.append(QString::number(a[i] & 0xff, 16).rightJustified(2, '0'));
|
|
||||||
return s;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
YubiKey::ChallengeResult YubiKey::challenge(int slot, bool mayBlock, const QByteArray& challenge, QByteArray& response)
|
YubiKey::ChallengeResult YubiKey::challenge(int slot, bool mayBlock, const QByteArray& challenge, QByteArray& response)
|
||||||
{
|
{
|
||||||
if (!m_mutex.tryLock()) {
|
if (!m_mutex.tryLock()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user