>> > I added the random device initialization into 
>> libssh2_session_init_ex 
>> > -function in file session.c
>> 
>> I would be happy to get a proper (OpenSSL) random seeding 
>> added to libssh2, 
>> but the previously shown patch is not "proper" at all...

Hi,

yep, it is not a proper patch. Just an attempt to help a user in his
problems.

I can not even remember what diff options I used and the fix is quick
and dirty. 

Hmm... I can see from my makefile that patch is used with '-n' option,
so it must have been a normal difference. It patches against version
0.14 and the previously posted patch is really the only thing I have,
since my makefile patches things up for me after the 0.14 source package
is unpacked.

It works on every platform we have run into (AIX, SunOS, OSF1,
HP-UX.11i, Itanium, Linux) though. It should give at least a rough
picture how I did it (if you want to implement it yourself).

br,

/jUSSi
-- 
perl -e '[EMAIL PROTECTED],0112,0,0],[0,0101,0,0],
[0,0120,0,0],[0,0110,0,0]];$[=256/8-0x1D;
print(chr(@{$_}[+($[+1-1+1)]))for(@[EMAIL PROTECTED]);'

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to