[Bug 968] OpenSSH 3.8p1 PRNG seed extraction failed error

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Feb 16 12:32:41 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=968





------- Additional Comments From dtucker at zip.com.au  2005-02-16 12:32 -------
Created an attachment (id=827)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=827&action=view)
add a dummy seed_rng to placate HP-UX's linker

Since the patch uses strlcpy the linker now must pull in libopenbsd-compat for
ssh-rand-helper for platforms that don't have it natively.

Unfortunately, it appears that the HP-UX linker wants to resolve all of the
external symbols even if they're only used in functions not ultimately used in
the binary, and blows up thusly:

gcc -o ssh-rand-helper ssh-rand-helper.o -L. -Lopenbsd-compat/
-L/usr/local/ssl/lib  -lssh -lopenbsd-compat -lcrypto -lz -lnsl -lxnet	-lsec
/usr/ccs/bin/ld: Unsatisfied symbols:
   seed_rng (first referenced in
openbsd-compat//libopenbsd-compat.a(bsd-arc4random.o)) (code)

The attached patch adds a dummy seed_rng.  With this patch and #760 it builds
OK.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list