Bugzilla – Attachment 1017 Details for
Bug 1064
Patch: list valid key types in error message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Default to generating a RSA key
keygendefaultrsa.diff (text/plain), 644 bytes, created by
Damien Miller
on 2005-10-30 12:26:09 AEDT
(
hide
)
Description:
Default to generating a RSA key
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2005-10-30 12:26:09 AEDT
Size:
644 bytes
patch
obsolete
>Index: ssh-keygen.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/ssh-keygen.c,v >retrieving revision 1.131 >diff -u -p -r1.131 ssh-keygen.c >--- ssh-keygen.c 14 Oct 2005 02:17:59 -0000 1.131 >+++ ssh-keygen.c 30 Oct 2005 01:26:11 -0000 >@@ -1246,10 +1246,9 @@ main(int ac, char **av) > > arc4random_stir(); > >- if (key_type_name == NULL) { >- printf("You must specify a key type (-t).\n"); >- usage(); >- } >+ if (key_type_name == NULL) >+ key_type_name = "rsa"; >+ > type = key_type_from_name(key_type_name); > if (type == KEY_UNSPEC) { > fprintf(stderr, "unknown key type %s\n", key_type_name);
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
Actions:
View
|
Diff
Attachments on
bug 1064
:
944
| 1017