> Why does the call to d2i_ECPrivateKey(NULL, &pptr, len); always fail?
Because you didn't pass it a key. Change that 'NULL' to 'eckey'. DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org