projects
/
tfcrypt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch to old tfcrypt1 mode by default.
[tfcrypt.git]
/
tfc_conf.c
diff --git
a/tfc_conf.c
b/tfc_conf.c
index bd2b112ecc045b8ff7b9615aae42c13d17e68bdc..441d60cb90b7267d5bbce446763e6f0d50932058 100644
(file)
--- 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);
}
|| 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);
}
else xerror(NO, YES, YES, "[%s] %s: unknown keyword", path, s);
}