Skip to content

Linux, Segmentation fault in lib/openssl/eccx08_ecdh.c #26

Description

@balaji-reddy

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);
   
    ........................

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions