cryptoauth-openssl-engine icon indicating copy to clipboard operation
cryptoauth-openssl-engine copied to clipboard

Missing eccx08_ecdsa

Open sbobovyc opened this issue 6 years ago • 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;

sbobovyc avatar Mar 14 '18 17:03 sbobovyc

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

bryan-hunt avatar Mar 20 '18 16:03 bryan-hunt