Odd behaviour with diffie-hellman on 64-bit HP-UX 11iv1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Odd behaviour with diffie-hellman on 64-bit HP-UX 11iv1

Mononen Jussi

Hi all,

I'm using OpenSSL 0.9.8 on a 64-bit HP-UX 11i v1 platform as a part of
my effort to compile libssh2 c-library (http://www.libssh2.org/) that is
using openssl resources. OpenSSL compiles nicely and passes 'make test'.
When trying to use it to create a ssh2 connection, I get complaints from
the ssh server (OpenSSH) telling me that I've sent 'invalid public DH
value' and I'm disconnected.

I've managed to compile and use OpenSSL with libssh2 successfully on
Solaris9, Linux and AIX 5.2, but on HP-UX 11i the Diffie-Hellman key
exchange method failes to the aforementioned problem.

I've compiled OpenSSL with following configuration:

./Configure no-asm shared no-idea no-mdc2 no-rc5 no-engines
--prefix=$(INSTALL_DIR) --openssldir=$(INSTALL_DIR)/openssl
hpux64-parisc2-cc -D_REENTRANT +DA2.0W -L$(LIBDIR)

I've tried to reduce compilers optimization levels but to no avail. If
anyone has any insight or hints what might be wrong I would be very


Jussi Mononen

  "Efficiency is intelligent laziness."

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.
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]