diff options
author | Werner Koch <[email protected]> | 2006-09-14 16:50:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-09-14 16:50:33 +0000 |
commit | 03d3322e5fb928d48ea4192fd2f2cc851d791421 (patch) | |
tree | 768acc2e54f6e4abcc405e665bf058aa1556d3f5 /agent/call-scd.c | |
parent | Various fixes and new features. (diff) | |
download | gnupg-03d3322e5fb928d48ea4192fd2f2cc851d791421.tar.gz gnupg-03d3322e5fb928d48ea4192fd2f2cc851d791421.zip |
Take advantage of newer gpg-error features.
Diffstat (limited to '')
-rw-r--r-- | agent/call-scd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c index 1c22ab364..2f91e1e84 100644 --- a/agent/call-scd.c +++ b/agent/call-scd.c @@ -217,7 +217,7 @@ start_scd (ctrl_t ctrl) { ctrl->scd_local = xtrycalloc (1, sizeof *ctrl->scd_local); if (!ctrl->scd_local) - return gpg_error_from_errno (errno); + return gpg_error_from_syserror (); ctrl->scd_local->ctrl_backlink = ctrl; ctrl->scd_local->next_local = scd_local_list; scd_local_list = ctrl->scd_local; @@ -316,8 +316,8 @@ start_scd (ctrl_t ctrl) no_close_list[i] = -1; /* Connect to the pinentry and perform initial handshaking */ - rc = assuan_pipe_connect2 (&ctx, opt.scdaemon_program, argv, - no_close_list, atfork_cb, NULL); + rc = assuan_pipe_connect_ext (&ctx, opt.scdaemon_program, argv, + no_close_list, atfork_cb, NULL, 0); if (rc) { log_error ("can't connect to the SCdaemon: %s\n", |