mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 04:46:21 +00:00
@@ -87,7 +87,7 @@ _p_gpg_free_pubkeyid(ProfPGPPubKeyId* pubkeyid)
|
||||
free(pubkeyid);
|
||||
}
|
||||
|
||||
static gpgme_error_t*
|
||||
static gpgme_error_t
|
||||
_p_gpg_passphrase_cb(void* hook, const char* uid_hint, const char* passphrase_info, int prev_was_bad, int fd)
|
||||
{
|
||||
if (passphrase) {
|
||||
@@ -109,7 +109,7 @@ _p_gpg_passphrase_cb(void* hook, const char* uid_hint, const char* passphrase_in
|
||||
gpgme_io_write(fd, passphrase_attempt, strlen(passphrase_attempt));
|
||||
}
|
||||
|
||||
return 0;
|
||||
return GPG_ERR_NO_ERROR;
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -180,7 +180,7 @@ p_gpg_on_connect(const char* const barejid)
|
||||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < len; i++) {
|
||||
for (gsize i = 0; i < len; i++) {
|
||||
GError* gerr = NULL;
|
||||
gchar* jid = jids[i];
|
||||
auto_gchar gchar* keyid = g_key_file_get_string(pubkeyfile, jid, "keyid", &gerr);
|
||||
|
||||
Reference in New Issue
Block a user