Dear sirs,

I wanted to know...what could prevent this instruction to 
do its purpose..


I'm trying to generate the ECC key with:


EC_KEY *eckey = EC_KEY_new();

if (eckey == NULL)
{
         printf("key is null\n");
}

int x;
if (!(x=EC_KEY_generate_key(eckey)))
{
         printf("EC key not created + %d\n",x);
}


but I always get the "EC key not created" message. and I 
don't understand why...I stripped down the code to the 
minimum needed...


thanks a lot

Francesco Durbin

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to