Re: how to use a preloaded certificate

2011-03-07 Thread ikuzar
2011/3/7 Dave Thompson > > From: owner-openssl-us...@openssl.org On Behalf Of ikuzar > > Sent: Monday, 07 March, 2011 10:00 > > > I have a function my_initialize( ) which initialize a lot > > of thing before doing my_connect( ), my_accept( ), etc. > > > In my_initialize( )

RE: how to use a preloaded certificate

2011-03-07 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of ikuzar > Sent: Monday, 07 March, 2011 10:00 > I have a function my_initialize( ) which initialize a lot > of thing before doing my_connect( ), my_accept( ), etc. > In my_initialize( ), I call : > - SSL_lib

how to use a preloaded certificate

2011-03-07 Thread ikuzar
Hello, I have a function my_initialize( ) which initialize a lot of thing before doing my_connect( ), my_accept( ), etc. In my_initialize( ), I call : - SSL_library_init(); - SSL_load_error_strings(); In my_connect( ), I set handshake: - meth = TLSv1_method( ); - ctx = SSL_CTX_new(meth); - SSL_CT