core: Fix minor code style thing.
* src/engine-gpg.c (gpg_add_algo_usage_expire): Use double parenthesis for bit tests. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
2486d0073b
commit
ef035f079f
@ -2093,7 +2093,7 @@ gpg_add_algo_usage_expire (engine_gpg_t gpg,
|
||||
}
|
||||
if (!err)
|
||||
{
|
||||
if (flags & GPGME_CREATE_NOEXPIRE)
|
||||
if ((flags & GPGME_CREATE_NOEXPIRE))
|
||||
err = add_arg (gpg, "never");
|
||||
else if (expires == 0)
|
||||
err = add_arg (gpg, "-");
|
||||
|
Loading…
Reference in New Issue
Block a user