Hello,
> I do the following:
> 1. Create ctx 
> 2. Create ssl= new (ctx,...)
> 3. printf ( " Number of ssl %d", ctx->references)
> 
> Step 3 show me 2 instead of 1 ( I only have one socket ssl with ctx).
> Why ?? Please kindly help me.
Because when SSL_CTX object is created this variable is set
initially to 1, not to 0. (The same for SSL object).

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to