Bug 1315455 - Constify sslSocket for extension processing. r=mt.
Summary: Extension handlers now take a const sslSocket* and a non-const xtnData. Things aren't entirely clean yet. I had to do two things: - Write a series of ssl_Ext* thunks for things that have innocuous side effects in sslSocket like updating the transcript or encrypting stuff. - Add a CONST_CAST macro for the few cases where it's clear we're having real side effects but they weren't simple to unwind. them. The macro makes them easy to find. Test Plan: None Differential Revision: https://nss-review.dev.mozaws.net/D17
Showing with 1011 additions and 815 deletions