Module Name:    src
Committed By:   christos
Date:           Thu Feb  7 19:32:19 UTC 2013

Modified Files:
        src/etc/rc.d: sshd

Log Message:
PR/47540: Felix Deichmann: DSA keys can only be 1024 bits.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/etc/rc.d/sshd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/rc.d/sshd
diff -u src/etc/rc.d/sshd:1.21 src/etc/rc.d/sshd:1.22
--- src/etc/rc.d/sshd:1.21	Sun Jul 24 23:04:23 2011
+++ src/etc/rc.d/sshd	Thu Feb  7 14:32:19 2013
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: sshd,v 1.21 2011/07/25 03:04:23 christos Exp $
+# $NetBSD: sshd,v 1.22 2013/02/07 19:32:19 christos Exp $
 #
 
 # PROVIDE: sshd
@@ -33,7 +33,7 @@ sshd_keygen()
 		    "in /etc/ssh/ssh_host_dsa_key"
 		echo "Skipping protocol version 2 DSA Key Generation"
 	else
-		/usr/bin/ssh-keygen -t dsa ${ssh_keygen_flags} \
+		/usr/bin/ssh-keygen -t dsa -b 1024 \
 		    -f /etc/ssh/ssh_host_dsa_key -N ''
 	fi
 

Reply via email to