mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 18:56:21 +00:00
upstream: cleanup: Fix cast function type warnings in pgp.c (b6a70aa47)
This commit is contained in:
@@ -86,7 +86,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) {
|
||||
@@ -108,7 +108,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
|
||||
|
||||
Reference in New Issue
Block a user