mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
min Qt 6.4
This commit is contained in:
parent
288a408bb0
commit
39f663aaaa
6 changed files with 5 additions and 32 deletions
|
|
@ -167,11 +167,7 @@ bool QxtHmac::verify(const QByteArray& otherInner)
|
|||
void QxtHmac::addData(const char* data, int length)
|
||||
{
|
||||
Q_ASSERT(qxt_d().opad.size());
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(6, 3, 0))
|
||||
qxt_d().ihash->addData(QByteArrayView(data, length));
|
||||
#else
|
||||
qxt_d().ihash->addData(data, length);
|
||||
#endif
|
||||
qxt_d().result.clear();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue