Bugzilla – Attachment 2755 Details for
Bug 2505
key_load_private_type: unknown or unsupported key type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Only load RSA1 host key if SSH1 support was enabled
openssh-fix-root-hostbased.diff (text/plain), 441 bytes, created by
Iain Morgan
on 2015-11-21 11:32:12 AEDT
(
hide
)
Description:
Only load RSA1 host key if SSH1 support was enabled
Filename:
MIME Type:
Creator:
Iain Morgan
Created:
2015-11-21 11:32:12 AEDT
Size:
441 bytes
patch
obsolete
>diff --git a/ssh.c b/ssh.c >index cceb36e..e32aa0a 100644 >--- a/ssh.c >+++ b/ssh.c >@@ -1242,8 +1242,10 @@ main(int ac, char **av) > sensitive_data.keys[i] = NULL; > > PRIV_START; >+#ifdef WITH_SSH1 > sensitive_data.keys[0] = key_load_private_type(KEY_RSA1, > _PATH_HOST_KEY_FILE, "", NULL, NULL); >+#endif > #ifdef OPENSSL_HAS_ECC > sensitive_data.keys[1] = key_load_private_cert(KEY_ECDSA, > _PATH_HOST_ECDSA_KEY_FILE, "", NULL);
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 2505
: 2755