"Dr. Stephen Henson" <st...@openssl.org> wrote 
in message news:20090822105817.ga...@openssl.org...

> Applications shouldn't access structures directly if that can be avoided. 
> If
> functions exist to do what you want you should use those instead.
>
> Sometimes structures need to be changed over time and we would like to 
> make
> many of them opaque, applications accessing them directly will no longer 
> work
> if/when we do that.

I agree about the internal fields of opaque structs/objects, but how else 
can I manipulate these structure?  For example, what functions should I use 
to read the EVP_KEY structure?   And where would I learn more about 
functions/macros like X509_get_issuer_name(), X509_get_pubkey(), 
X509_extract_key()?  Right know I'm using a cross-referencing tool to browse 
the OpenSSL source code, but there's gotta be a better (less error-prone) 
way.





______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to