Branch: Tag:


2014-08-05 17:19:26 by Henrik Grubbström (Grubba) <>

SSL.Session: Keep track of the protocol version.

SSL.Cipher.CipherSpec::verify() needs the version in the session
object to be up to date (or it will break with TLS 1.2 or higher).

Fixes interoperability with

408:    array(array(int)) signature_algorithms,    int max_hash_size)   { +  this_program::version = version; +     array res = Cipher.lookup(suite, version, signature_algorithms,    truncated_hmac?512:max_hash_size);    if (!res) return 0;