Fix horrible (and hard to track down) bug in ssl23_get_client_hello:
authorBodo Möller <bodo@openssl.org>
Wed, 18 Aug 1999 17:14:42 +0000 (17:14 +0000)
committerBodo Möller <bodo@openssl.org>
Wed, 18 Aug 1999 17:14:42 +0000 (17:14 +0000)
commitde1915e48c0be56fadf7c7f1987536e1522df275
treeb6ee009a7e1ec756162cd5f4e50761ca1fe57e2d
parent6e4a3b5529613d2d0f4ae246f4f8fd7d2b8aa536
Fix horrible (and hard to track down) bug in ssl23_get_client_hello:
In case of a restart, v[0] and v[1] were incorrectly initialised.
This was interpreted by ssl3_get_client_key_exchange as an RSA decryption
failure (don't ask me why) and caused it to create a _random_ master key
instead (even weirder), which obviously led to incorrect input to
ssl3_generate_master_secret and thus caused "block cipher pad is
wrong" error messages from ssl3_enc for the client's Finished message.
Arrgh.
CHANGES
ssl/s23_srvr.c
ssl/ssl.h