mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Rename encode.c to encrypt.c.
Rename function in a simlar way. Re-indent encrypt.c
This commit is contained in:
parent
1d0e9816e4
commit
c11c23b6ac
9 changed files with 1187 additions and 1118 deletions
20
g10/server.c
20
g10/server.c
|
@ -540,18 +540,18 @@ gpg_server (ctrl_t ctrl)
|
|||
char *tmp = NULL;
|
||||
const char *s1 = getenv ("GPG_AGENT_INFO");
|
||||
|
||||
if (asprintf (&tmp,
|
||||
"Home: %s\n"
|
||||
"Config: %s\n"
|
||||
"AgentInfo: %s\n"
|
||||
"%s",
|
||||
opt.homedir,
|
||||
"fixme: need config filename",
|
||||
s1?s1:"[not set]",
|
||||
hello) > 0)
|
||||
tmp = xtryasprintf ("Home: %s\n"
|
||||
"Config: %s\n"
|
||||
"AgentInfo: %s\n"
|
||||
"%s",
|
||||
opt.homedir,
|
||||
"fixme: need config filename",
|
||||
s1?s1:"[not set]",
|
||||
hello);
|
||||
if (tmp)
|
||||
{
|
||||
assuan_set_hello_line (ctx, tmp);
|
||||
free (tmp);
|
||||
xfree (tmp);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue