mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-31 05:16: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);
|
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)
|
_p_gpg_passphrase_cb(void* hook, const char* uid_hint, const char* passphrase_info, int prev_was_bad, int fd)
|
||||||
{
|
{
|
||||||
if (passphrase) {
|
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));
|
gpgme_io_write(fd, passphrase_attempt, strlen(passphrase_attempt));
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return GPG_ERR_NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user