While some OpenSSL "objects" (DH, DSA, RSA) offer an *_up_ref function to increase the reference count, others have their internal structure publicly available (EVP_PKEY, X509, etc), so you can use CRYPTO_add() to increase the reference count.
In the process of writing wrapper classes for various OpenSSL functions, I noticed that ENGINE (engine_st from eng_int.h respectively) is one of the few structures where a developer can not increase the structural reference count. Would anybody mind a little function like ENGINE_up_ref()? It would help *me* a great deal, and I'd be happy to supply a patch. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
