Branch: Tag:

2015-02-22

2015-02-22 18:37:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Implemented EXTENSION_extended_master_secret.

395:    } else if (!sizeof(premaster_secret)) {    // Clear text mode.    session->master_secret = ""; +  } else if (session->extended_master_secret) { +  // Extended Master Secret Draft. +  session->master_secret = premaster_secret; +  session->master_secret = hash_messages("extended master secret", 48);    } else {    session->master_secret =    session->cipher_spec->prf(premaster_secret, "master secret",