X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tfc_conf.c;h=441d60cb90b7267d5bbce446763e6f0d50932058;hb=d2e7d8aede7d69caffd59e4b0fa60e0c4b245201;hp=bd2b112ecc045b8ff7b9615aae42c13d17e68bdc;hpb=f402e6aa2dd18138ec26e9bfb340dae294637aec;p=tfcrypt.git diff --git a/tfc_conf.c b/tfc_conf.c index bd2b112..441d60c 100644 --- a/tfc_conf.c +++ b/tfc_conf.c @@ -94,6 +94,10 @@ _nspc: || macbits > TF_MAX_BITS || macbits % 8) xerror(NO, YES, YES, "[%s] macbits=%s: invalid MAC bits setting", path, d); } + else if (!strcmp(s, "do_full_key")) { + if (!strcasecmp(d, "yes")) do_full_key = YES; + else if (!strcasecmp(d, "no")) do_full_key = NO; + } else xerror(NO, YES, YES, "[%s] %s: unknown keyword", path, s); }