mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 22:26:21 +00:00
Fix typo Annonuce -> Announce
This commit is contained in:
@@ -91,8 +91,8 @@ ox_announce_public_key(const char* const filename)
|
|||||||
{
|
{
|
||||||
assert(filename);
|
assert(filename);
|
||||||
|
|
||||||
cons_show("Annonuce OpenPGP Key for OX %s ...", filename);
|
cons_show("Announce OpenPGP Key for OX %s ...", filename);
|
||||||
log_info("[OX] Annonuce OpenPGP Key of OX: %s", filename);
|
log_info("[OX] Announce OpenPGP Key of OX: %s", filename);
|
||||||
|
|
||||||
// key the key and the fingerprint via GnuPG from file
|
// key the key and the fingerprint via GnuPG from file
|
||||||
char* key = NULL;
|
char* key = NULL;
|
||||||
@@ -104,7 +104,7 @@ ox_announce_public_key(const char* const filename)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_info("[OX] Annonuce OpenPGP Key for Fingerprint: %s", fp);
|
log_info("[OX] Announce OpenPGP Key for Fingerprint: %s", fp);
|
||||||
xmpp_ctx_t* const ctx = connection_get_ctx();
|
xmpp_ctx_t* const ctx = connection_get_ctx();
|
||||||
char* id = xmpp_uuid_gen(ctx);
|
char* id = xmpp_uuid_gen(ctx);
|
||||||
xmpp_stanza_t* iq = xmpp_iq_new(ctx, STANZA_TYPE_SET, id);
|
xmpp_stanza_t* iq = xmpp_iq_new(ctx, STANZA_TYPE_SET, id);
|
||||||
@@ -231,7 +231,7 @@ ox_request_public_key(const char* const jid, const char* const fingerprint)
|
|||||||
void
|
void
|
||||||
_ox_metadata_node__public_key(const char* const fingerprint)
|
_ox_metadata_node__public_key(const char* const fingerprint)
|
||||||
{
|
{
|
||||||
log_info("Annonuce OpenPGP metadata: %s", fingerprint);
|
log_info("Announce OpenPGP metadata: %s", fingerprint);
|
||||||
assert(fingerprint);
|
assert(fingerprint);
|
||||||
assert(strlen(fingerprint) == KEYID_LENGTH);
|
assert(strlen(fingerprint) == KEYID_LENGTH);
|
||||||
// iq
|
// iq
|
||||||
|
|||||||
Reference in New Issue
Block a user