[openssl-users] ECDSA_SIG_new and ECDSA_SIG_free details

Salz, Rich rsalz at akamai.com
Wed Jan 11 16:09:49 UTC 2017


> > OpenSSL does not support platforms where the memory representation of
> > the NULL pointer contains non-zero bytes. IIRC there are even tests for
> this.
> 
> Could someone from the OpenSSL team please explain the rationale for this
> decision? What is the problem with using assignments with 0 or NULL to
> initialize pointers?

I think you are confused.

There is no problem with what you posted.  The issue is that if NULL != 0, OpenSSL won't necessarily work.

See test/sanitytest.c for what we check.


More information about the openssl-users mailing list