Bugzilla – Attachment 827 Details for
Bug 968
OpenSSH 3.8p1 PRNG seed extraction failed error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add a dummy seed_rng to placate HP-UX's linker
openssh-seed-dummy.patch (text/plain), 499 bytes, created by
Darren Tucker
on 2005-02-16 12:32:40 AEDT
(
hide
)
Description:
add a dummy seed_rng to placate HP-UX's linker
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2005-02-16 12:32:40 AEDT
Size:
499 bytes
patch
obsolete
>--- ssh-rand-helper.c.djm 2005-02-16 12:18:31.000000000 +1100 >+++ ssh-rand-helper.c 2005-02-16 12:24:49.000000000 +1100 >@@ -888,3 +888,15 @@ > > return ret == bytes ? 0 : 1; > } >+ >+/* >+ * On some platforms (HP-UX, AIX), all external symbols in libraries must be >+ * resolvable at link time, even if they are only used in functions that are >+ * ultimately never used in the resulting binary. arc4random calls seed_rng >+ * so we need a dummy seed_rng. >+ */ >+void >+seed_rng(void) >+{ >+ /* nothing */ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 968
:
757
|
758
|
759
|
760
|
827
|
828