mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 13:13:02 +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());
|
||||
return static_cast<int>(passphrase->size());
|
||||
} else {
|
||||
// Old comment below...this should never happen once we're here...what if it does?
|
||||
// ok gotta bring up modal dialog... But right now lets just
|
||||
// just keep it empty
|
||||
// this shouldn't happen - so lets log it to tell us we have
|
||||
// a problem with the flow...
|
||||
qCCritical(commerce) << "no cached passphrase while decrypting!";
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue