Hi Steve,

Thanks, that certainly corrected it.  I guess I'm perplexed as to why using

ecgroup = EC_GROUP_new_by_curve_name(NID_X9_62_prime256v1);

would not automatically set that flag since I'm explicitly giving the curve 
name already?

  Thanks,
  Erik

....................................
Erik Tkal
Juniper OAC/UAC/Pulse Development


On Fri, Aug 03, 2012, Steve wrote:

OK, you've got the parameters explicitly encoded instead of using a named 
curved. When you generate the key try calling:

EC_GROUP_set_asn1_flag(group, OPENSSL_EC_NAMED_CURVE);

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to