cryptoauth-openssl-engine
cryptoauth-openssl-engine copied to clipboard
Linux, Segmentation fault in lib/openssl/eccx08_ecdh.c
I noticed the segmentation fault \when I tried to execute TLS authentication example.
This error occurs in one of the debug function where it prints the eckey and so it's not trivial but blocking issue.
To unblock yourself, just comment the below line in lib/openssl/eccx08_ecdh.c
static int eccx08_ecdh_compute_key(void *out, size_t outlen,
const EC_POINT *pub_key, EC_KEY *ecdh,
void* (*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
{
DEBUG_ENGINE("Entered: outlen %d\n", outlen);
// eccx08_eckey_debug(NULL, ecdh);
........................