Sorry, but I haven't understood this code, where I have to use, in the server? and is it only to detect the problem or to solve it?
 

"Wade L. Scholine" wrote:

$ diff cli.c cli.c~
28d27
<
38c37
< char buf [4096], randfname[4096];
---
> char buf [4096];
63,71c62
<
< if (!RAND_file_name(randfname, 4096)) {
< printf("Can't get rand file name: set env var RANDOM\n");
< exit (1);
< }
< if (!RAND_load_file(randfname, -1)) {
< printf("Can't load random bytes\n");
< exit(1);
< }
---
>
118,121d108
< if (!RAND_write_file(randfname)) {
< printf("Can't write random state\n");
< exit(1);
< }

Ignore the stuff about no client certificate. cli does not know how to load
a cert, and serv does not ask for one.

-----Original Message-----
From: Albert Serra [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 11:06 AM
To: [EMAIL PROTECTED]
Subject: seed

Hi,
 I have compiled the cli.cpp and serv.cpp.  But when I execute this programs
it appears this error:

[40=2]serra@lsisun4/~/OpenSSL/opensslsun/demos/ssl>server
Connection from 7f000001, port f519
SSL connection using (NONE)
Client does not have certificate.
10790:error:1407D0E5:SSL routines:SSL2_READ:ssl handshake
failure:s2_pkt.c:100:
[41=2]serra@lsisun4/~/OpenSSL/opensslsun/demos/ssl>
[
[6=2]serra@lsisun4/~/OpenSSL/opensslsun/demos/ssl>client
10791:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:md_rand.c:538:
[7=2]serra@lsisun4/~/OpenSSL/opensslsun/demos/ssl>

What I have to do with the seed and where I have to modify it.
Thank you
Albert

--
Albert SERRA
===========================================
Integrated Systems Laboratory (DE/LSI-EPFL)
email: [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

-- 
Albert SERRA 
===========================================
Integrated Systems Laboratory (DE/LSI-EPFL)
email: [EMAIL PROTECTED]
 
begin:vcard 
n:Serra Pages;Albert
x-mozilla-html:FALSE
version:2.1
email;internet:[EMAIL PROTECTED]
adr;quoted-printable:;;Residence Marcolet =0D=0APre-Fontaine 12 Ch. 23;1023 Crissier; ;;Switzerland
x-mozilla-cpt:;0
fn:Albert Serra Pages
end:vcard


Reply via email to