Bugzilla – Attachment 2697 Details for
Bug 2459
ssh-keygen -t rsa1 should be removed from Makefile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
test for protocol v.1 support before generating rsa1 key
bz2459.diff (text/plain), 517 bytes, created by
Damien Miller
on 2015-09-11 13:25:39 AEST
(
hide
)
Description:
test for protocol v.1 support before generating rsa1 key
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2015-09-11 13:25:39 AEST
Size:
517 bytes
patch
obsolete
>diff --git a/Makefile.in b/Makefile.in >index 40cc7aa..4bb239e 100644 >--- a/Makefile.in >+++ b/Makefile.in >@@ -361,7 +361,7 @@ host-key: ssh-keygen$(EXEEXT) > @if [ -z "$(DESTDIR)" ] ; then \ > if [ -f "$(sysconfdir)/ssh_host_key" ] ; then \ > echo "$(sysconfdir)/ssh_host_key already exists, skipping." ; \ >- else \ >+ elif ./ssh -Q protocol-version | grep '^1$' >/dev/null 2>&1 ; then > ./ssh-keygen -t rsa1 -f $(sysconfdir)/ssh_host_key -N "" ; \ > fi ; \ > if [ -f $(sysconfdir)/ssh_host_dsa_key ] ; then \
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 2459
:
2697
|
2698
|
2699