On Tue, Mar 4, 2014 at 6:46 PM, Jeffrey Walton <noloa...@gmail.com> wrote: > I'm reading a private key from disk and trying to validate it. The key > was saved with OPENSSL_EC_NAMED_CURVE. > [sorry about that half-post]
Here's what I needed: int EC_KEY_get_asn1_flag(const EC_KEY* key) { ASSERT(key); if (key) { const EC_GROUP* group = EC_KEY_get0_group(key); ASSERT(group); if (group) return EC_GROUP_get_asn1_flag(group); } return 0; } ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org