commit | 773dda25e828c4c9a52f7bdce6e1e5924157beab | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Fri Jan 30 23:10:17 2015 +1100 |
committer | Damien Miller <djm@mindrot.org> | Wed Feb 18 22:29:32 2015 +1100 |
tree | 831507f35a8feb0ae984a7a13f521932a0fedb61 | |
parent | e89c780886b23600de1e1c8d74aabd1ff61f43f0 [diff] [blame] |
repair --without-openssl; broken in refactor
diff --git a/ssh-keygen.c b/ssh-keygen.c index 9b20682..9238748 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c
@@ -192,6 +192,7 @@ exit(1); } if (*bitsp == 0) { +#ifdef WITH_OPENSSL if (type == KEY_DSA) *bitsp = DEFAULT_BITS_DSA; else if (type == KEY_ECDSA) { @@ -200,8 +201,8 @@ *bitsp = sshkey_curve_nid_to_bits(nid); if (*bitsp == 0) *bitsp = DEFAULT_BITS_ECDSA; - } - else + } else +#endif *bitsp = DEFAULT_BITS; } #ifdef WITH_OPENSSL