diff options
| author | Sam Varshavchik | 2016-11-27 11:58:51 -0500 | 
|---|---|---|
| committer | Sam Varshavchik | 2016-11-27 11:58:51 -0500 | 
| commit | e21842e21535133d86f4c304e445e6d69f029ab5 (patch) | |
| tree | 14d6af1c94c0417817c77e3cf6c08ddf8f58e06a /gpglib/testgpg.c | |
| parent | 22aa61750562f69db443f93518080cd1b5d923ea (diff) | |
| download | courier-libs-e21842e21535133d86f4c304e445e6d69f029ab5.tar.bz2 | |
gpglib: fixes for gpg2.
Add --with-gpg2 compiler option, to prefer gpg2 instead of gpg.
When compiled against gpg2, --pinentry-mode local must be given, for
certain operations.
Implement libmail_gpg_makepassphrasepipe(), to help apps pass passphrases
via pipes.
Removes obsolete 'trust level' parameter from libmail_gpg_signkey().
Diffstat (limited to 'gpglib/testgpg.c')
| -rw-r--r-- | gpglib/testgpg.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/gpglib/testgpg.c b/gpglib/testgpg.c index bc0c5a9..a2178c0 100644 --- a/gpglib/testgpg.c +++ b/gpglib/testgpg.c @@ -82,7 +82,7 @@ static int delkey(const char *d, const char *f, int flag)  static int signkey(const char *d, const char *signthis, const char *signwith)  { -	return (libmail_gpg_signkey(d, signthis, signwith, -1, dump_stdout, 0, NULL)); +	return (libmail_gpg_signkey(d, signthis, signwith, -1, dump_stdout, NULL));  }  static int checksign(const char *d, const char *stuff, const char *sig) | 
