LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File openssh-rsa512-minimal-7.2.patch of Package openssh (Project home:msvec)

diff -urw openssh-7.2p2.orig/ssh.h openssh-7.2p2/ssh.h
--- openssh-7.2p2.orig/ssh.h	2016-03-09 19:04:48.000000000 +0100
+++ openssh-7.2p2/ssh.h	2017-01-06 10:48:58.831157658 +0100
@@ -99,7 +99,7 @@
 #endif
 
 /* Minimum modulus size (n) for RSA keys. */
-#define SSH_RSA_MINIMUM_MODULUS_SIZE	768
+#define SSH_RSA_MINIMUM_MODULUS_SIZE	512
 
 /* Listen backlog for sshd, ssh-agent and forwarding sockets */
 #define SSH_LISTEN_BACKLOG		128
diff -urw openssh-7.2p2.orig/sshkey.h openssh-7.2p2/sshkey.h
--- openssh-7.2p2.orig/sshkey.h	2017-01-06 10:42:46.000000000 +0100
+++ openssh-7.2p2/sshkey.h	2017-01-06 14:19:57.970659136 +0100
@@ -46,7 +46,7 @@
 # define EC_POINT	void
 #endif /* WITH_OPENSSL */
 
-#define SSH_RSA_MINIMUM_MODULUS_SIZE	768
+#define SSH_RSA_MINIMUM_MODULUS_SIZE	512
 #define SSH_KEY_MAX_SIGN_DATA_SIZE	(1 << 20)
 
 struct sshbuf;