Is there a function that I can use to increment the refernce
count of an SSL_SESSION* ?  Obviously I can just 
"ssl_session->reference += 1" -- the program is single threaded,
so that's not even a problem.  I'd like to avoid using an
additional SSL_get1_session call because it's not clean for the
purpose in this case.  (One section of code has a SSL_SESISON*
and another needs to get a copy without having access to the
underlying SSL*, but the code come from two products, so I wouldn't
want to introduce a memory leak in the one that actually does the
SSL stuff.)




--
Brian Hatch                  Tomorrow I will feel better
   Systems and                so I can feel worse.
   Security Engineer
http://www.ifokr.org/bri/

Every message PGP signed

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to