It was RAND_screen call that was missing! 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, March 10, 2000 6:47 PM
To: Grebelsky, Konstantin; [EMAIL PROTECTED]
Subject: Re: DSA certificate and cipher list setup?


Grebelsky, Konstantin <[EMAIL PROTECTED]>:

> I have created certificate and priv key as follows:
> openssl.exe dsaparam 512 -out dsa512.pem  
> openssl req -config req.cnf -x509 -newkey dsa:dsa512.pem -out DsaCa.pem
> 
> When I do SSL_connect ... and on the server side SSL_accept the accept
call
> fails
> on    c=ssl3_choose_cipher(s,s->session->ciphers,
> ssl_get_ciphers_by_id(s));

Do you set an ephemeral DH key (e.g. by calling SSL_CTX_set_tmp_dh)?
This is required by DSA ciphersuites.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to