summaryrefslogtreecommitdiffstats
path: root/g10/server.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-10-02 16:57:55 +0200
committerWerner Koch <wk@gnupg.org>2009-10-02 16:57:55 +0200
commit71625f56fd98ab37bc05f1806b4b49a2e418ac37 (patch)
tree24d54f73a41c21241f7b99c3eee15374b1185df6 /g10/server.c
parentFixed EOF detection for encrypted packets. (diff)
downloadgnupg2-71625f56fd98ab37bc05f1806b4b49a2e418ac37.tar.xz
gnupg2-71625f56fd98ab37bc05f1806b4b49a2e418ac37.zip
Implement the server comamnd DECRYPT.
Use int instead of gnupg_fd_t in the server. Comment fixes. Rename encr-data.c -> decrypt-data.c
Diffstat (limited to '')
-rw-r--r--g10/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/server.c b/g10/server.c
index 33f9bb6ed..478c0ec28 100644
--- a/g10/server.c
+++ b/g10/server.c
@@ -362,7 +362,7 @@ cmd_decrypt (assuan_context_t ctx, char *line)
if (out_fd == -1)
return set_error (GPG_ERR_ASS_NO_OUTPUT, NULL);
- err = gpg_error (GPG_ERR_NOT_IMPLEMENTED);
+ err = decrypt_message_fd (inp_fd, out_fd);
/* Close and reset the fds. */
close_message_fd (ctrl);