My guess is that you should just add a ->digits(256) to convert it to a string, but one would have to check the spec to be sure.
/ Niels Möller ()
Previous text:
2003-01-27 19:13: Subject: KE_dh_anon
Could someone with SSL module core knowledge take a look at SSL.handshake.server_derive_master_secret? In the KE_dh_anon case in the main switch premaster_secret is set to dh_state->get_shared(). Since premaster_secret is a string and get_shared returns a Gmp.mpz object, this is wrong. What should it be?
/ Martin Nilsson (Åskblod)