Added certificate check failure modes CERT_EXCEEDED_PATH_LENGTH and CERT_UNAUTHORIZED_SIGNING. Improved the extensions code somewhat and removed some debug left on.
Improve the API a bit by having ext_basicConstraints_pathLenConstraint be the number of following certificates, instead of only intermediate certificates.
SSL.session: Support AEAD ciphers without IV.

Some upcoming AEAD suites use an unsalted nonce/iv. Make sure
not not to fail due to adding zeroes and strings.
Testsuite: Improved diagnostics for the SSL tests.

The alert that caused the SSL failure should now be logged if
a failure wasn't expected.

Fixed reporting of the SSL/TLS version in several places.
Testsuite: Crypto.GCM has moved to Crypto.AES.GCM.

Fixes complaints about the GCM suites not being supported.
malloc now uses void*, not char*
Free takes void* and doesn't need any cast anymore.
More calloc conversions.
mallocs nowdays return void*, so no need to case.
realloc takes void* and doesn't need any cast.
Use xcalloc instead of xalloc, and avoid doing as much initializations when the memory is already cleared.
memset takes void* as first argument, no casting needed.