Bugzilla – Attachment 2633 Details for
Bug 2388
build fixups for --without-openssl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make ed25519 default ssh-keygen type when no SSL
keygen-default.diff (text/plain), 675 bytes, created by
Damien Miller
on 2015-05-28 14:01:23 AEST
(
hide
)
Description:
make ed25519 default ssh-keygen type when no SSL
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2015-05-28 14:01:23 AEST
Size:
675 bytes
patch
obsolete
>diff --git a/ssh-keygen.c b/ssh-keygen.c >index 1ae75c1..191b9a9 100644 >--- a/ssh-keygen.c >+++ b/ssh-keygen.c >@@ -52,6 +52,12 @@ > #include "ssh-pkcs11.h" > #endif > >+#ifdef WITH_OPENSSL >+# define DEFAULT_KEY_TYPE_NAME "rsa" >+#else >+# define DEFAULT_KEY_TYPE_NAME "ed25519" >+#endif >+ > /* Number of bits in the RSA/DSA key. This value can be set on the command line. */ > #define DEFAULT_BITS 2048 > #define DEFAULT_BITS_DSA 1024 >@@ -2561,7 +2567,7 @@ main(int argc, char **argv) > } > > if (key_type_name == NULL) >- key_type_name = "rsa"; >+ key_type_name = DEFAULT_KEY_TYPE_NAME; > > type = sshkey_type_from_name(key_type_name); > type_bits_valid(type, key_type_name, &bits);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2388
:
2599
|
2603
|
2604
|
2605
|
2606
| 2633 |
2634