diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | key.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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 | ||
108 | 20091226 | 112 | 20091226 |
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 |
@@ -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; |