All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit a594412c authored by Mike Hibler's avatar Mike Hibler

Add a version string that is printed out in usage().

This way we can be 100% certain we are running the binary we think we are.
parent 8e5b2b2a
* Copyright (c) 2008-2010 University of Utah and the Flux Group.
* Copyright (c) 2008-2012 University of Utah and the Flux Group.
* All rights reserved.
......@@ -34,6 +34,9 @@
#define TPM_PASS_HASH "\x71\x10\xed\xa4\xd0\x9e\x06\x2a\xa5\xe4" \
/* Change this if you every change the hash! */
#define DQ_VERSION "1.1"
* Helpers like madness!
......@@ -292,7 +295,8 @@ static int parse_nonce(char *nstr, char *dst)
static void usage(char *name)
fprintf(stderr, "%s - do a quote for Emulab\n", name);
fprintf(stderr, "%s - do a quote for Emulab (version %s)\n",
name, DQ_VERSION);
fprintf(stderr, "\n");
fprintf(stderr, "%s takes the quoteprep info either as\n", name);
fprintf(stderr, "arguments or it reads them from stdin and does a\n");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment