summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--key.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index cb64d640e..45f758529 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -104,6 +104,10 @@
104 fix potential divide-by-zero in sftp's "df" output when talking to a server 104 fix potential divide-by-zero in sftp's "df" output when talking to a server
105 that reports zero files on the filesystem (Unix filesystems always have at 105 that reports zero files on the filesystem (Unix filesystems always have at
106 least the root inode). From Steve McClellan at radisys, ok djm@ 106 least the root inode). From Steve McClellan at radisys, ok djm@
107 - markus@cvs.openbsd.org 2009/12/11 18:16:33
108 [key.c]
109 switch from 35 to the more common value of RSA_F4 == (2**16)+1 == 65537
110 for the RSA public exponent; discussed with provos; ok djm@
107 111
10820091226 11220091226
109 - (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1 113 - (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1
diff --git a/key.c b/key.c
index 3e17da601..f2edf6d5d 100644
--- a/key.c
+++ b/key.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: key.c,v 1.80 2008/10/10 05:00:12 stevesk Exp $ */ 1/* $OpenBSD: key.c,v 1.81 2009/12/11 18:16:33 markus Exp $ */
2/* 2/*
3 * read_bignum(): 3 * read_bignum():
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -685,7 +685,7 @@ rsa_generate_private_key(u_int bits)
685{ 685{
686 RSA *private; 686 RSA *private;
687 687
688 private = RSA_generate_key(bits, 35, NULL, NULL); 688 private = RSA_generate_key(bits, RSA_F4, NULL, NULL);
689 if (private == NULL) 689 if (private == NULL)
690 fatal("rsa_generate_private_key: key generation failed."); 690 fatal("rsa_generate_private_key: key generation failed.");
691 return private; 691 return private;