[openssl-users] ECDSA_SIG_new and ECDSA_SIG_free details - NULL vs zeros

Salz, Rich rsalz at akamai.com
Wed Jan 11 17:22:40 UTC 2017


> I suspect that it was a shortcut, where they used memset() on an entire
> structure, and it hopefully set pointers to NULL.
> 
> What I pointed out is that if NULL is not all zeros, this breaks.

And OpenSSL does not work on those platforms.  It is part of the test suite to check for this.  See test/sanitytest.c



More information about the openssl-users mailing list