rz1a@mail.ru wrote:
> Hello openssl-dev,
>
> First of all - Big Thanks! for the OpenSSL package!
>
> Is it possible to have in a text like this:
>
> SSL_load_error_strings();
> OpenSSL_add_ssl_algorithms();
> ssl_ctx = SSL_CTX_new( SSLv3_client_method() );
> if( NULL == ssl_ctx )
> {
> printf( "SSL_CTX_new() failed\n" );
> exit( EXIT_FAILURE );
> }
>
> a "lighter" method?
> I do not need any networking in my project, so I'd rather prefer to
> create a new SSL_CTX object with a call of "SSL_CTX_new( NULL)" and
> populate it with other methods (if nesessary) later.


what do you want to do with such a ssl context ?

> Currently it is not a possibility.
> I believe such an option could sometimes save some system resources.


SSLv3_client_method() etc. returns a pointer to static function
table ... that shouldn't be too expensive.

Cheers,
Nils
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org