diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-08-07 15:22:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-08-19 13:36:50 -0400 |
commit | 76ec8915721fa825e019821a4b045359156f8cc5 (patch) | |
tree | 0099613b871a7b42441a1263d6213c54292ba05e /src/test/test_keygen.sh | |
parent | 5d76acfcb302619dd97f6f2519889752bfa60e2e (diff) | |
download | tor-76ec8915721fa825e019821a4b045359156f8cc5.tar.gz tor-76ec8915721fa825e019821a4b045359156f8cc5.zip |
When we infer the master key from the certificate, save it to disk.
Diffstat (limited to 'src/test/test_keygen.sh')
-rwxr-xr-x | src/test/test_keygen.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_keygen.sh b/src/test/test_keygen.sh index 565e0a4944..e8e3c3d219 100755 --- a/src/test/test_keygen.sh +++ b/src/test/test_keygen.sh @@ -7,7 +7,7 @@ umask 077 set -e if [ $# -eq 0 ] || [ ! -f ${1} ] || [ ! -x ${1} ]; then - if [ "$TESTING_TOR_BINARY" = ""] ; then + if [ "$TESTING_TOR_BINARY" = "" ] ; then echo "Usage: ${0} PATH_TO_TOR [case-number]" exit 1 fi @@ -329,7 +329,7 @@ cp "${SRC}/keys/ed25519_signing_secret_key" "${ME}/keys/" ${TOR} --DataDirectory "${ME}" --list-fingerprint >/dev/null || die "Failed when starting with only signing material" check_no_file "${ME}/keys/ed25519_master_id_secret_key" -check_no_file "${ME}/keys/ed25519_master_id_public_key" +check_file "${ME}/keys/ed25519_master_id_public_key" check_keys_eq ed25519_signing_secret_key check_keys_eq ed25519_signing_cert |