diff --git a/lib/modules/SSL.pmod/Cipher.pmod b/lib/modules/SSL.pmod/Cipher.pmod index 05d002eddb3ab48b41fb0c852ab13f59b9d7f6e9..6812ea9cf96614237433ab2c2d65a25fb16987cf 100644 --- a/lib/modules/SSL.pmod/Cipher.pmod +++ b/lib/modules/SSL.pmod/Cipher.pmod @@ -780,10 +780,9 @@ class KeyExchangeDHE SSL3_DEBUG_MSG("KE_DHE\n"); Gmp.mpz p = input->get_bignum(); Gmp.mpz g = input->get_bignum(); - Gmp.mpz order = [object(Gmp.mpz)]((p-1)/2); // FIXME: Is this correct? temp_struct->put_bignum(p); temp_struct->put_bignum(g); - dh_state = DHKeyExchange(Crypto.DH.Parameters(p, g, order)); + dh_state = DHKeyExchange(Crypto.DH.Parameters(p, g)); dh_state->set_other(input->get_bignum()); temp_struct->put_bignum(dh_state->other);