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
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){
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
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
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
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
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
>
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
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
Does SSL_free free the bio also or is a call to BIO_free needed after SSL_free?
Steve
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
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
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
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
14 matches
Mail list logo