Re: Reg: Freeing of SSL_CTX object through SSL_free Function

2022-04-13 Thread Matt Caswell
igned here also */      .      return s; } Inside SSL_free: void SSL_free(SSL *s) {      if ( s == NULL)            return;      X509_VERIFY_PARAM_free(s->param);      .      .     SSL_CTX_free( s->session_ctx); /* this holds the value of ctx that was passed t o

Reg: Freeing of SSL_CTX object through SSL_free Function

2022-04-13 Thread Ram Chandra via openssl-users
ctx;   /* ctx value to s->ctx , also gets freed when called SLL_free(s) ==>  SSL_CTX_free(s->ctx)*/                SSL_CTX_up_ref(ctx);      s->session_ctx = ctx; /* same value is getting assigned here also */      .     return s;} Inside SSL_free:void SSL_free(SSL *s){   

[openssl-users] Fwd: SSL_free Segmentation Fault

2018-12-18 Thread N Jain
session but I always get segmentation fault during SSL_free. If I remove SSL_free the segmentation fault goes away but I need to call it in order to free up the ssl session memory. While further debugging using GDB I found (gdb) bt #0 0xb6e3cc10 in dtls1_get_record () from /usr/lib/libssl.so.1.0.0 #1

Re:Re: Re: at what time must I call SSL_free( ) / SSL_CTX_free( )

2011-02-22 Thread lzyzizi
At 2011-02-16 19:40:50,"Aro RANAIVONDRAMBOLA" wrote: 2) => OK 1) I do not understand when you say I can also call SSL_CTX_use_certificate_file( ) to load another certificate file ... if it fails how can you load another certificate file ? 2011/2/15 lzyzizi What time have you to

Re: Re: at what time must I call SSL_free( ) / SSL_CTX_free( )

2011-02-22 Thread Aro RANAIVONDRAMBOLA
1-02-16 19:40:50,"Aro RANAIVONDRAMBOLA" wrote: > > 2) => OK > 1) I do not understand when you say I can also call > SSL_CTX_use_certificate_file( ) to load another certificate file ... >if it fails how can you load another certificate file ? > > > 2011/2/15 l

Re:Re: at what time must I call SSL_free( ) / SSL_CTX_free( )

2011-02-16 Thread lzyzizi
ot; wrote: 2) => OK 1) I do not understand when you say I can also call SSL_CTX_use_certificate_file( ) to load another certificate file ... if it fails how can you load another certificate file ? 2011/2/15 lzyzizi What time have you to call SSL_free() and SSL_CTX_free() depends what you

Re: at what time must I call SSL_free( ) / SSL_CTX_free( )

2011-02-16 Thread Aro RANAIVONDRAMBOLA
2) => OK 1) I do not understand when you say I can also call SSL_CTX_use_certificate_file( ) to load another certificate file ... if it fails how can you load another certificate file ? 2011/2/15 lzyzizi > What time have you to call SSL_free() and SSL_CTX_free() depends what you >

Re:at what time must I call SSL_free( ) / SSL_CTX_free( )

2011-02-15 Thread lzyzizi
What time have you to call SSL_free() and SSL_CTX_free() depends what you want to end the SSL/SSL_CTX object's lifecycle.Calling these functions is just likedel the object in C++,which means you don't want the object any more. The failure of calling functions(e.g.SSL_CTX_set_c

at what time must I call SSL_free( ) / SSL_CTX_free( )

2011-02-15 Thread Aro RANAIVONDRAMBOLA
Hello, I 'd like to know at what time have I to call SSL_free( ) and SSL_CTX_free( ) 1) For example, I call SSL_CTX_free( ) when a call to a function which fill in the CTX fails ( SSL_CTX_set_cipher_list( ), SSL_CTX_use_certificate_file( ), ..., SSL_CTX_set_verify( ) ). I am wondering if it

BIO_free and SSL_free

2008-10-31 Thread Steve West
Does SSL_free free the bio also or is a call to BIO_free needed after SSL_free? Steve

Multiple calls to SSL_free

2002-09-04 Thread Scott Bolton
On the second call to SSL_free, using the same SSL*, my program croaks. The documentation is clear on this issue. I have 2 threads that have been handed the same SSL*. Is there an easy way to determine that the other thread has already called SSL_free for a particular SSL*? I know I can create a

Re: SSL_free

2000-06-13 Thread Arun Venkataraman
before. Arun. -Original Message- From: Levy itai <[EMAIL PROTECTED]> To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]> Date: Tuesday, June 13, 2000 7:45 AM Subject: SSL_free >Hi to all, > >Do I have to use the SSL_free (SSL *s) routine after every call to SS

SSL_free

2000-06-13 Thread Levy itai
Hi to all, Do I have to use the SSL_free (SSL *s) routine after every call to SSL_new (SSL *s) which allocates memory for the SSL structure upon every connection ? If I use the SSL_free routine it seems to free the session context and I can't do reuse in the next connection. I tried to us

Problem with SSL_free, SSL_CTX_free

2000-03-02 Thread Holtzman, Donn
ivatekey = 0x82bfea0}, {x509 = 0x0, privatekey = 0x0}, { x509 = 0x38bd1156, privatekey = 0x0}, {x509 = 0x0, privatekey = 0x2}, { x509 = 0x2, privatekey = 0x0}}, references = 1} The third set of pkeys points to an invalid address which causes SSL_free to generate a SIGSEGV. We also see co