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:
parent
1f9a75e8f7
commit
0500e209a6
@ -355,7 +355,8 @@ _ox_request_public_key(const char* const jid, const char* const fingerprint)
|
|||||||
assert(fingerprint);
|
assert(fingerprint);
|
||||||
|
|
||||||
if (strlen(fingerprint) != KEYID_LENGTH) {
|
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);
|
cons_show("Requesting Public Key %s for %s", fingerprint, jid);
|
||||||
|
Loading…
Reference in New Issue
Block a user