MicrochipTech/cryptoauth-openssl-engine

Missing eccx08_ecdsa

sbobovyc opened this issue · 1 comments

workspace/cryptoauth-openssl-engine/cryptoauthlib/lib/openssl/eccx08_eckey_meth.c:899:24: error: ‘eccx08_ecdsa’ undeclared (first use in this function)
EC_METHOD_set_name(eccx08_ecdsa, "ATECCX08 METHODS");

Fixed by adding this to eccx08_eckey_meth.c
extern ECDSA_METHOD * eccx08_ecdsa;

Technically the fix would be this:

EC_METHOD_set_name(eccx08_ec, "ATECCX08 METHODS");

Generally it's boilerplate that should only affect debugging of the structures (i.e. the name field will not be as expected).

Edit: This is in the incomplete OpenSSL 1.1 support section