summaryrefslogtreecommitdiffhomepage
path: root/dropbearkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-11-19 00:31:21 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-11-19 00:31:21 +0800
commit597f12c44a000add479c6a0b416e8c0847b59b20 (patch)
treed6d1aa9862e2214767ab6c4ee7f5ac66c4290a3f /dropbearkey.c
parent9025cd9b72bf316f4d84b71b03af25675c834ff9 (diff)
Use atomic key generation in all cases
Diffstat (limited to 'dropbearkey.c')
-rw-r--r--dropbearkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dropbearkey.c b/dropbearkey.c
index 644de94..05e6d33 100644
--- a/dropbearkey.c
+++ b/dropbearkey.c
@@ -241,7 +241,7 @@ int main(int argc, char ** argv) {
}
fprintf(stderr, "Generating key, this may take a while...\n");
- if (signkey_generate(keytype, bits, filename) == DROPBEAR_FAILURE)
+ if (signkey_generate(keytype, bits, filename, 0) == DROPBEAR_FAILURE)
{
dropbear_exit("Failed to generate key.\n");
}