gnupg2/gnupg-1.9.4-gpg-error.patch

12 lines
496 B
Diff

--- gnupg-1.9.14/agent/preset-passphrase.c.gpg-err 2004-12-21 12:56:09.000000000 -0600
+++ gnupg-1.9.14/agent/preset-passphrase.c 2005-01-06 14:27:28.000000000 -0600
@@ -137,7 +137,7 @@
case SPWQ_IO_ERROR:
return gpg_error_from_errno (EIO);
case SPWQ_PROTOCOL_ERROR:
- return gpg_error (GPG_ERR_PROTOCOL_VIOLATION);
+ return gpg_error (GPG_ERR_UNSUPPORTED_PROTOCOL);
case SPWQ_ERR_RESPONSE:
return gpg_error (GPG_ERR_INV_RESPONSE);
case SPWQ_NO_AGENT: