MicrochipTech / cryptoauth-openssl-engine

DEPRECATED: Use https://github.com/MicrochipTech/cryptoauthlib/wiki/PKCS11-Linux-Setup
Other
76 stars 49 forks source link

use correct data type for key_str in get_key, #29

Open retrnace opened 5 years ago

retrnace commented 5 years ago

use correct data type for key_str in get_key

To fix, change the below line in lib/openssl/eccx08_cmd_defns.c

    char* key_str[32];
    EVP_PKEY* pkey;

    DEBUG_ENGINE("Entered\n");

to

    char key_str[32];
    EVP_PKEY* pkey;

    DEBUG_ENGINE("Entered\n");