They are both valid in C (mine and yours). Please try the Delphi demo and
you will see the issue. Firefox has the capability to select protocols.

Regards,

SZ

On Fri, Nov 28, 2008 at 4:13 PM, Arno Garrels <[EMAIL PROTECTED]> wrote:

> Fastream Technologies wrote:
> > SslContext1->SslOptions = TSslOptions() << sslOpt_NO_SSLv2;
> > is the same as what I did, isn't it? I do not want to take the default
> > values by using the,
> >
> > " = TSslOptions()" part. I just want to reset the values I am
> > interested in with this line:
>
> Then the syntax is probably like this:
> SslContext1->SslOptions = SslContext1->SslOptions << sslOpt_NO_SSLv2;
> to add an option to the set or:
> SslContext1->SslOptions = SslContext1->SslOptions >> sslOpt_NO_SSLv2;
> to remove an option from the set.
>
> In Delphi it's:
> SslContext1.SslOptions := SslContext1.SslOptions + [sslOpt_NO_SSLv2];
> SslContext1.SslOptions := SslContext1.SslOptions - [sslOpt_NO_SSLv2];
>
> --
> Arno Garrels [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
>
>
> >
> > SslContext->SslOptions >> sslOpt_NO_SSLv2 >> sslOpt_NO_SSLv3 >>
> > sslOpt_NO_TLSv1;
> > (removes the three options and then...
> >
> > let's assign the actual values:
> > HTTPSSLContext->SslOptions >> sslOpt_NO_SSLv2 >> sslOpt_NO_SSLv3 >>
> > sslOpt_NO_TLSv1;
> >  if(!useSSLv2)
> >   HTTPSSLContext->SslOptions << sslOpt_NO_SSLv2;
> >   if(!useSSLv3)
> >    HTTPSSLContext->SslOptions << sslOpt_NO_SSLv3;
> >   if(!useTLSv1)
> >    HTTPSSLContext->SslOptions << sslOpt_NO_TLSv1;
> > What's wrong with this? My client says he disabled SSLv3 and TLSv1
> > from browser options and that's how he says he tested whether the
> > SSLv2 is disabled as that is the only option left for the server and
> > client. Is this how to test it? How would you guys test it? Can you
> > test the ICS demo with Firefox/IE?
> >
> > Regards,
> >
> > SZ
>
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to