diff options
Diffstat (limited to 'rsa.c')
-rw-r--r-- | rsa.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$Id: rsa.c,v 1.12 2000/04/03 04:50:46 damien Exp $"); | 38 | RCSID("$Id: rsa.c,v 1.13 2000/04/04 04:57:08 damien Exp $"); |
39 | 39 | ||
40 | #include "rsa.h" | 40 | #include "rsa.h" |
41 | #include "ssh.h" | 41 | #include "ssh.h" |
@@ -96,8 +96,6 @@ rsa_generate_key(RSA *prv, RSA *pub, unsigned int bits) | |||
96 | if (key == NULL) | 96 | if (key == NULL) |
97 | fatal("rsa_generate_key: key generation failed."); | 97 | fatal("rsa_generate_key: key generation failed."); |
98 | 98 | ||
99 | seed_rng(); | ||
100 | |||
101 | /* Copy public key parameters */ | 99 | /* Copy public key parameters */ |
102 | pub->n = BN_new(); | 100 | pub->n = BN_new(); |
103 | BN_copy(pub->n, key->n); | 101 | BN_copy(pub->n, key->n); |