Repair build when YK disabled. 🛠 (#3417)

This commit is contained in:
louib 2019-08-03 18:17:38 -04:00 committed by Jonathan White
parent 726dbc004d
commit 7cbcea18e9

View File

@ -61,6 +61,11 @@ bool YubiKey::getSerial(unsigned int& serial)
return false; return false;
} }
QString YubiKey::getVendorName()
{
return "YubiKeyStub";
}
YubiKey::ChallengeResult YubiKey::challenge(int slot, bool mayBlock, const QByteArray& chal, QByteArray& resp) YubiKey::ChallengeResult YubiKey::challenge(int slot, bool mayBlock, const QByteArray& chal, QByteArray& resp)
{ {
Q_UNUSED(slot); Q_UNUSED(slot);