mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:58:56 +02:00
log when no passphrase was set before trying to decrypt
This commit is contained in:
parent
feaa8d3120
commit
47cd47f819
1 changed files with 3 additions and 3 deletions
|
@ -60,9 +60,9 @@ int passwordCallback(char* password, int maxPasswordSize, int rwFlag, void* u) {
|
||||||
strcpy(password, passphrase->toLocal8Bit().constData());
|
strcpy(password, passphrase->toLocal8Bit().constData());
|
||||||
return static_cast<int>(passphrase->size());
|
return static_cast<int>(passphrase->size());
|
||||||
} else {
|
} else {
|
||||||
// Old comment below...this should never happen once we're here...what if it does?
|
// this shouldn't happen - so lets log it to tell us we have
|
||||||
// ok gotta bring up modal dialog... But right now lets just
|
// a problem with the flow...
|
||||||
// just keep it empty
|
qCCritical(commerce) << "no cached passphrase while decrypting!";
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue