On Wed, Nov 08, 2006, Ben Laurie wrote:

> 
> But it gets cast back to the correct type before it is called. These
> casts are done the way they are to get type-safety. Removing that option
> strikes me as a bad thing.
> 

Yes and that happened to be a way that worked on all the compilers OpenSSL
used at the time.

The main purpose of the casting it to provide type safe checking at compile
time and have no runtime overhead. 

If there is an alternative to achieve the same result (inline calls perhaps?)
then we can have that as a compilation option.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to