Subject: Re: [libssh2] Compiling and executing error of libssh2 library in Sun Solaris 2.7 and AIX Unix Version 4.3/5.1

Re: [libssh2] Compiling and executing error of libssh2 library in Sun Solaris 2.7 and AIX Unix Version 4.3/5.1

From: Mononen Jussi <Jussi.Mononen_at_comptel.com>
Date: Tue, 20 Mar 2007 15:21:45 +0200

>> I can't find where i should modify in source of libssh2 0.14
>> to add the following patch:
>>
>> 218a219,221
>> >
>> > unsigned char random_datasource[] =
>> "La1fk&E8nsjoQ3k!sTg69#d2hoqhz)90yagE3t5d(fSLiygWhaTq4gf-kQu51sHg";
>> >
>> 226a230,233
>> >
>> > if (RAND_status() == 0) {
>> > RAND_seed(random_datasource, sizeof(random_datasource));
>> > }
>>
>> Please tell me more detail in the random device patch.

Hi,

I added the random device initialization into libssh2_session_init_ex
-function in file session.c

br,

/jUSSi

--
perl -e '@_=qw{Just Perl Another Hacker}; sub r{+{@_}} 
print keys %{&r}; print values %{&r};'
Disclaimer: This message and any attachments thereto are intended solely for
the addressed recipient(s) and may contain confidential information. If you
are not the intended recipient, please notify the sender by reply e-mail and
delete the e-mail (including any attachments thereto) without producing,
distributing or retaining any copies thereof. Any review, dissemination or
other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient(s) is prohibited.
Thank you.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-03-20