diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-05-04 13:37:12 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-05-04 13:37:12 +0200 |
commit | 0500e209a6f707b769b6c7a1151c0b4faf5c0b1a (patch) | |
tree | 958eb8abf0fd48bf16fbe50f9b630b517d742135 /src/xmpp | |
parent | 1f9a75e8f7b066a280639062627cb96b6900687b (diff) | |
download | profani-tty-0500e209a6f707b769b6c7a1151c0b4faf5c0b1a.tar.gz |
ox: return upon invalid fingerprint
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/ox.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/ox.c b/src/xmpp/ox.c index fab3d675..7e66abab 100644 --- a/src/xmpp/ox.c +++ b/src/xmpp/ox.c @@ -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); |