diff options
author | dtucker <dtucker> | 2010-01-08 07:52:27 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2010-01-08 07:52:27 +0000 |
commit | 10649b29affb59c4d7d5ab1cc25979aa3d1ceb87 (patch) | |
tree | b5256ca0c780d8088fe5786aa7867b07933bc8ba /key.c | |
parent | e955cbb029aba3cf5f6993e936b6da30c889aff1 (diff) | |
download | openssh-10649b29affb59c4d7d5ab1cc25979aa3d1ceb87.tar.gz |
- markus@cvs.openbsd.org 2009/12/11 18:16:33
[key.c]
switch from 35 to the more common value of RSA_F4 == (2**16)+1 == 65537
for the RSA public exponent; discussed with provos; ok djm@
Diffstat (limited to 'key.c')
-rw-r--r-- | key.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: key.c,v 1.80 2008/10/10 05:00:12 stevesk Exp $ */ +/* $OpenBSD: key.c,v 1.81 2009/12/11 18:16:33 markus Exp $ */ /* * read_bignum(): * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -685,7 +685,7 @@ rsa_generate_private_key(u_int bits) { RSA *private; - private = RSA_generate_key(bits, 35, NULL, NULL); + private = RSA_generate_key(bits, RSA_F4, NULL, NULL); if (private == NULL) fatal("rsa_generate_private_key: key generation failed."); return private; |