mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 13:46:21 +00:00
PGP: Use old gpgme_io_write
This commit is contained in:
@@ -83,7 +83,7 @@ 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) {
|
||||||
gpgme_io_writen(fd, passphrase, strlen(passphrase));
|
gpgme_io_write(fd, passphrase, strlen(passphrase));
|
||||||
} else {
|
} else {
|
||||||
GString *pass_term = g_string_new("");
|
GString *pass_term = g_string_new("");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user