summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-05-08 12:35:36 -0400
committerNick Mathewson <nickm@torproject.org>2009-05-08 12:35:36 -0400
commitfdbdb4dc15004fdb74c57b9bc67cbfca24c6e7ea (patch)
treeff07070534ccab65e0cda66bb29f009b1d110685 /src/or/config.c
parentb9b16ef9a5c7c84f41f95e0e2c8266f4c1e2dce2 (diff)
downloadtor-fdbdb4dc15004fdb74c57b9bc67cbfca24c6e7ea.tar.gz
tor-fdbdb4dc15004fdb74c57b9bc67cbfca24c6e7ea.zip
Include the *_sha1.i files in their own *_codedigest.c files.
This way we do not need to rebuild util.c and/or config.c whenever any unrelated source file in src/common or src/or has changed.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 76de52748c..93177a166c 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3930,9 +3930,7 @@ options_init_from_torrc(int argc, char **argv)
if (argc > 1 && (!strcmp(argv[1],"--digests"))) {
printf("Tor version %s.\n",get_version());
printf("%s", libor_get_digests());
- printf("%s", ""
-#include "or_sha1.i"
- );
+ printf("%s", tor_get_digests());
exit(0);
}