*** cryptlib.h Fri Dec 22 08:08:52 2006 --- ../cryptlib.h Mon Apr 9 03:34:27 2007 *************** *** 1029,1034 **** --- 1029,1039 ---- // for internal library use void DoQuickSanityCheck() const {ThrowIfInvalid(NullRNG(), 0);} + + #ifdef __SUNPRO_CC + // Sun Studio 11/CC 5.8 workaround: it generates incorrect code when casting to an empty virtual base class + char m_sunCCworkaround; + #endif }; //! interface for generatable crypto material, such as private keys and crypto parameters