On Mon, Jun 26, 2000 at 12:08:28PM +0200, [EMAIL PROTECTED] wrote:
> the other a Domestic Version. To set the communication right for the Domestic 
>Version I have to do
> a
>           SSL_CTX_set_cipher_list(ctx, SSL_TXT_RC4_128_WITH_MD5);
> 
> If I try to connect with the same code to the Export-Version, the answer is 0 Bytes 
>long, I have to cut out
> the described line of code oder write
>           SSL_CTX_set_cipher_list(ctx, SSL_TXT_RC4_128_EXPORT40_WITH_MD5);
> instead.

You will have your special reasons to hardcode a special cipher instead
of just use the compile-time default...
The ciphers you chose are SSLv2 (for any reasons you might have), but since
the texts for SSLv2 and SSLv3 are the same, this is of no importance.
What you really want is to use the 128bit domestic cipher and the 40bit
cipher as a fallback:
        SSL_CTX_set_cipher_list(ctx, "RC-MD5:EXP-RC4-MD5");

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to