summaryrefslogtreecommitdiff
path: root/scripts/dh_speed.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dh_speed.c')
-rw-r--r--scripts/dh_speed.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/scripts/dh_speed.c b/scripts/dh_speed.c
index ce102491b..dc0a2870f 100644
--- a/scripts/dh_speed.c
+++ b/scripts/dh_speed.c
@@ -1,8 +1,22 @@
+/*
+ * Copyright (C) 2009 Martin Willi
+ * Hochschule fuer Technik Rapperswil
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */
#include <stdio.h>
#include <time.h>
#include <library.h>
-#include <debug.h>
+#include <utils/debug.h>
#include <crypto/diffie_hellman.h>
static void usage()
@@ -105,7 +119,7 @@ int main(int argc, char *argv[])
}
library_init(NULL);
- lib->plugins->load(lib->plugins, NULL, argv[1]);
+ lib->plugins->load(lib->plugins, argv[1]);
atexit(library_deinit);
rounds = atoi(argv[2]);