diff options
author | Werner Koch <wk@gnupg.org> | 2005-04-11 18:21:05 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2005-04-11 18:21:05 +0200 |
commit | 5a6edf162b7bf776cc77bb22d92e7d6b6717cd70 (patch) | |
tree | c6a50c969c13b887100b805a0887e3dc2cb0b727 | |
parent | * app-openpgp.c (do_check_pin): Add hack to allow verification of (diff) | |
download | gnupg2-5a6edf162b7bf776cc77bb22d92e7d6b6717cd70.tar.xz gnupg2-5a6edf162b7bf776cc77bb22d92e7d6b6717cd70.zip |
* call-dirmngr.c (start_dirmngr): Use PATHSEP_C instead of ':'.
* call-agent.c (start_agent): Ditto.
-rw-r--r-- | sm/ChangeLog | 5 | ||||
-rw-r--r-- | sm/call-agent.c | 2 | ||||
-rw-r--r-- | sm/call-dirmngr.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/sm/ChangeLog b/sm/ChangeLog index bb899f5b7..e74381bd5 100644 --- a/sm/ChangeLog +++ b/sm/ChangeLog @@ -1,3 +1,8 @@ +2005-03-31 Werner Koch <wk@g10code.com> + + * call-dirmngr.c (start_dirmngr): Use PATHSEP_C instead of ':'. + * call-agent.c (start_agent): Ditto. + 2005-03-17 Werner Koch <wk@g10code.com> * certcheck.c: Fixed use of DBG_CRYPTO and DBG_X509. diff --git a/sm/call-agent.c b/sm/call-agent.c index 0647acbb8..885abf421 100644 --- a/sm/call-agent.c +++ b/sm/call-agent.c @@ -144,7 +144,7 @@ start_agent (ctrl_t ctrl) } *p++ = 0; pid = atoi (p); - while (*p && *p != ':') + while (*p && *p != PATHSEP_C) p++; prot = *p? atoi (p+1) : 0; if (prot != 1) diff --git a/sm/call-dirmngr.c b/sm/call-dirmngr.c index 9c4a5f22f..5988ea952 100644 --- a/sm/call-dirmngr.c +++ b/sm/call-dirmngr.c @@ -218,7 +218,7 @@ start_dirmngr (void) } *p++ = 0; pid = atoi (p); - while (*p && *p != ':') + while (*p && *p != PATHSEP_C) p++; prot = *p? atoi (p+1) : 0; if (prot != 1) |