summaryrefslogtreecommitdiff
path: root/root-topology/Makefile
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-08 12:46:00 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-08 12:46:00 -0400
commit673aab5ba24acf91961972b71ae2b92f5ffe4b83 (patch)
tree0b179efbaf6061156761b83036eb922be9956705 /root-topology/Makefile
parent77457cbff14546a6b6173a46c0486767dab60847 (diff)
downloadinfinitytier-673aab5ba24acf91961972b71ae2b92f5ffe4b83.tar.gz
infinitytier-673aab5ba24acf91961972b71ae2b92f5ffe4b83.zip
Fix an oversight in signed dictionaries: the timestamp and signing identity should themselves be part of the signature. Also include the raw dictionary in addition to the bin2c version in root-topology/
Diffstat (limited to 'root-topology/Makefile')
-rw-r--r--root-topology/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/root-topology/Makefile b/root-topology/Makefile
index 4c256a50..58226fd0 100644
--- a/root-topology/Makefile
+++ b/root-topology/Makefile
@@ -2,16 +2,16 @@ all: FORCE
g++ -o mktopology mktopology.cpp ../node/Utils.cpp ../node/Identity.cpp ../node/C25519.cpp ../node/Salsa20.cpp ../node/Dictionary.cpp ../node/SHA512.cpp
gcc -o bin2c bin2c.c
-official: all
- rm -f root_topology.out
- ./mktopology >root_topology.out
- ./bin2c ZT_DEFAULT_ROOT_TOPOLOGY < root_topology.out > ZT_DEFAULT_ROOT_TOPOLOGY.c
+official: FORCE
+ rm -f ZT_DEFAULT_ROOT_TOPOLOGY.dict
+ ./mktopology >ZT_DEFAULT_ROOT_TOPOLOGY.dict
+ ./bin2c ZT_DEFAULT_ROOT_TOPOLOGY < ZT_DEFAULT_ROOT_TOPOLOGY.dict > ZT_DEFAULT_ROOT_TOPOLOGY.c
ls -l ZT_DEFAULT_ROOT_TOPOLOGY.c
clean:
- rm -f *.o mktopology bin2c root_topology.out
+ rm -f *.o mktopology bin2c
realclean: clean
- rm -f ZT_DEFAULT_ROOT_TOPOLOGY.c
+ rm -f ZT_DEFAULT_ROOT_TOPOLOGY.c ZT_DEFAULT_ROOT_TOPOLOGY.dict
FORCE: