minor update to check the gpg keyring path setting in access stanzas only if a decrypt password is specified
git-svn-id: file:///home/mbr/svn/fwknop/trunk@254 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
parent
05fdf6f319
commit
eed35a8f1c
@ -576,7 +576,7 @@ set_acc_defaults(fko_srv_options_t *opts)
|
||||
|
||||
/* set default gpg keyring path if necessary
|
||||
*/
|
||||
if(acc->gpg_home_dir == NULL)
|
||||
if(acc->gpg_decrypt_pw != NULL && acc->gpg_home_dir == NULL)
|
||||
add_acc_string(&(acc->gpg_home_dir), opts->config[CONF_GPG_HOME_DIR]);
|
||||
|
||||
acc = acc->next;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user