1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

ox: return upon invalid fingerprint

This commit is contained in:
Michael Vetter 2022-05-04 13:37:12 +02:00
parent 1f9a75e8f7
commit 0500e209a6

View File

@ -355,7 +355,8 @@ _ox_request_public_key(const char* const jid, const char* const fingerprint)
assert(fingerprint);
if (strlen(fingerprint) != KEYID_LENGTH) {
cons_show_error("Invalid fingerprint length for: %s", fingerprint);
cons_show_error("Invalid fingerprint length %s for %s", fingerprint, jid);
return;
}
cons_show("Requesting Public Key %s for %s", fingerprint, jid);