On Wed, 3 Mar 2010, kai_yang2008 wrote:
>Hi All,
>
>I have build the new openssl-0.9.8m on HPUX platform, it sees that the
>openssl-0.9.8m don't
>support the command line " openssl speed -multi 2". And I have traced to the
>source code of
>speed.c. But it work fines with the openssl-0.9.8l.
>The reason is that :
>
>#if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_WINDOWS) ||
>defined(OPENSSL_SYS_MACINTOSH_CLASSIC) || defined(OPENSSL_SYS_OS2) ||
>defined(OPENSSL_SYS_NETWARE)
># define NO_FORK 1
>#elif HAVE_FORK
># undef NO_FORK
>#else
># define NO_FORK 1
>#endif
>
>But my hpux platform support fork, so if I want to support the option "multi"
>, what should I do?
>Anybody has some ideas? Thanks!
we hit that as well and filed:
http://rt.openssl.org/index.html?q=2183
as a workaround, add "-DHAVE_FORK" to the field for compiler
options for your architecture in Configure and reconfigure/rebuild. Or,
just put "#define HAVE_FORK 1" after the endif and rebuild. J.
--
Jan Pechanec
http://blogs.sun.com/janp
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]