View | Details | Raw Unified | Return to bug 2459 | Differences between
and this patch

Collapse All | Expand All

(-)a/Makefile.in (-1 / +1 lines)
Lines 361-367 host-key: ssh-keygen$(EXEEXT) Link Here
361
	@if [ -z "$(DESTDIR)" ] ; then \
361
	@if [ -z "$(DESTDIR)" ] ; then \
362
		if [ -f "$(sysconfdir)/ssh_host_key" ] ; then \
362
		if [ -f "$(sysconfdir)/ssh_host_key" ] ; then \
363
			echo "$(sysconfdir)/ssh_host_key already exists, skipping." ; \
363
			echo "$(sysconfdir)/ssh_host_key already exists, skipping." ; \
364
		else \
364
		elif ./ssh -Q protocol-version | grep '^1$' >/dev/null 2>&1 ; then
365
			./ssh-keygen -t rsa1 -f $(sysconfdir)/ssh_host_key -N "" ; \
365
			./ssh-keygen -t rsa1 -f $(sysconfdir)/ssh_host_key -N "" ; \
366
		fi ; \
366
		fi ; \
367
		if [ -f $(sysconfdir)/ssh_host_dsa_key ] ; then \
367
		if [ -f $(sysconfdir)/ssh_host_dsa_key ] ; then \

Return to bug 2459