aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_init.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-11-05 10:18:47 -0500
committerNick Mathewson <nickm@torproject.org>2019-11-07 07:28:43 -0500
commit0f0a9bdf332002bb0542dae6bb00e922af5dcf63 (patch)
tree4a25bc3928f62bd08c49c55ff1345db5fa8b91f6 /src/lib/crypt_ops/crypto_init.c
parent0d8504e70b0c6ff92f38fc7f4b4c38037d121e69 (diff)
downloadtor-0f0a9bdf332002bb0542dae6bb00e922af5dcf63.tar.gz
tor-0f0a9bdf332002bb0542dae6bb00e922af5dcf63.zip
Stop using "config_suite_offset=-1" to indicate "no config suite."
Instead, create a separate "has_config_suite" boolean, so that only top-level formats with config_suites need to declare an offset at all.
Diffstat (limited to 'src/lib/crypt_ops/crypto_init.c')
-rw-r--r--src/lib/crypt_ops/crypto_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/crypt_ops/crypto_init.c b/src/lib/crypt_ops/crypto_init.c
index 4b08456197..fbd4da4704 100644
--- a/src/lib/crypt_ops/crypto_init.c
+++ b/src/lib/crypt_ops/crypto_init.c
@@ -293,7 +293,6 @@ static const config_format_t crypto_options_fmt = {
offsetof(crypto_options_t, magic) },
.vars = crypto_options_t_vars,
.validate_fn = crypto_options_validate,
- .config_suite_offset = -1,
};
/**