On Wed Sep 11 17:52:03 2013, deeng...@anl.gov wrote: > > Attached is a patch to move the definition of ecdsa_method > from src/crypto/ecdsa/ecs_locl.h to ecdsa.h > and move the definition if ecdh_method > from src/crypto/ecdh/ech_locl.h to ecdh.h >
It's been policy that we should avoiding direct structure access in applications code and use opaque structures where possible. I had to change ecdsa_method for the FIPS builds (add the flags field) and if it had been public would've meant that it would no longer be binary compatible across minor versions (1.0.0 incompatible with 1.0.1 and later) which would be a major headache. The preferred technique would be to create a function to allocate and initialise the structure without exposing it in a public header. See the EVP_PKEY_METHOD structure for example. 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 Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org