[openssl.org #1431] bug in setting ECDH and ECDSA methods

2006-12-04 Thread Nils Larsch via RT

fixed in cvs 
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


[openssl.org #1431] bug in setting ECDH and ECDSA methods

2006-11-24 Thread [EMAIL PROTECTED] via RT

Setting ECDH and ECDSA methods in ENGINE interface does not
work properly. I can not set up ENGINE ECDH and ECDSA methods 
as default.

In the file crypto/engine/tb_ecdh we have

int ENGINE_set_default_ECDH(ENGINE *e)
   {
   if(e-ecdh_meth)
   return engine_table_register(ecdh_table,
   engine_unregister_all_ECDH, e, dummy_nid, 1, 
 0);
   return 1;
   }

and should be

int ENGINE_set_default_ECDH(ENGINE *e)
   {
   if(e-ecdh_meth)
   return engine_table_register(ecdh_table,
   engine_unregister_all_ECDH, e, dummy_nid, 1, 
 1);
   return 1;
   }


In the file crypto/engine/tb_ecdsa we have

int ENGINE_set_default_ECDSA(ENGINE *e)
   {
   if(e-ecdsa_meth)
   return engine_table_register(ecdsa_table,
   engine_unregister_all_ECDSA, e, dummy_nid, 1, 
 0);
   return 1;
   }

and should be

int ENGINE_set_default_ECDSA(ENGINE *e)
   {
   if(e-ecdsa_meth)
   return engine_table_register(ecdsa_table,
   engine_unregister_all_ECDSA, e, dummy_nid, 1, 
 1);
   return 1;
   }


__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: [openssl.org #1431] bug in setting ECDH and ECDSA methods

2006-11-24 Thread Nils Larsch via RT

[EMAIL PROTECTED] via RT wrote:
 Setting ECDH and ECDSA methods in ENGINE interface does not
 work properly. I can not set up ENGINE ECDH and ECDSA methods 
 as default.
...

should be fixed now, please try a new snapshot.
Thanks for the bug report.

Cheers,
Nils

__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]