Rob Crittenden wrote: > > I ended up going with a layer that doesn't define any methods. Seems to > be working ok. I originally assumed the order of the layers and would do > things like: mydata = ssl->lower->secret but later changed it to fetch > the layer by name and retrieve the data directly. I didn't want to > assume that nobody else would push a layer on at some point.
Yes, it's best to make sure the layer has the correct 'identity' before dereferencing its 'secret' pointer. Wan-Teh _______________________________________________ dev-tech-crypto mailing list [EMAIL PROTECTED] https://lists.mozilla.org/listinfo/dev-tech-crypto