I’m currently testing the install by using the openssl s_server &
s_client functions.
Openssl requires egd to provide a random number seed. egd opens a UNIX
socket and provides the seed. But it can’t create a UNIX socket while
Socket or Socklet are running is this normal?
I slay Socket/Socklet and then I can’t use IP socket for the openssl
connection. So I can have UNIX or IP sockets but I need both.
Is this how the Socket / Socklet works?
I’ve had a lot of problems with networking my QNX box as it has two
netowrk cards for two differnet nets , not reduncancy.
Is Socket suppose to support both IP and UNIX sockets?
Paul Kimberley wrote:
Thanks for the diff file it worked with no error’s during compile!!
The only problem i have right now is that when i test out openssl, it
give me an error do to the lack of a random number seed.
It usually uses /dev/random or /dev/urandom on Unix/ Linux machines,
openssl recomends a program called egd if you dont have the random
devices, but it requires perl with the SHA library either dynamically or
statically linked. Apparently I havn’t done that.
Thanks again for the diff file it worked like a charm!
Vladimir Timonin wrote:
I tried to compile 0.9.7 and then 0.9.7a and got some errors too.
Quick and dirty hack shown in attached diff file.
Do not forget to
ln -s /bin/true /usr/bin/ranlib
and
$ ./config
$ make SHELL=bash
(bash is somewhere in ftp.qnx.com/usr/free/…)
liug wrote:
This int64 thingy must be added recently since I don’t remember
having this problem. You best bet is to find any old version of openssl.
openssh started to use int64 and I have switched to commercial ssh.
now openssl is doing the same thing, maybe it’s time to upgrade
to qnx6:)
Eric Norton <> enortonNOSPAM@nospamfct.ca> > wrote:
Hi liug,
Would it be possible for you to make available the version of the
SSL port
that you used? Or could you post some information on how you
installed it?
Thanks,
Eric
“liug” <> liug@mama.indstate.edu> > wrote in message
news:b3e37e$5qr$> 1@inn.qnx.com> …
What errors?
It worked for me last time I tried for my openssh.
Paul Kimberley <> pkimberley@ati.sl.on.ca> > wrote:
I’m having trouble installing OpenSSL(0.9.7a) on QNX4.
Has anyone successfully installed OpenSSL on QNX4?
Supposedly QNX4 is a supported O/S for OpenSSL but when I run make
I get
errors.
All I need is Perl 5.0+ correct?
I’m interested in hearing if anyone has had success with this or
if it
is a lost cause.
Thanks
\
diff -r openssl-0.9.7a.orig/Configure openssl-0.9.7a/Configure
410c410
“qnx4”, “cc:-DL_ENDIAN -DTERMIO::(unknown):::${x86_gcc_des}
${x86_gcc_opts}:”,
“qnx4”, “cc:-DL_ENDIAN
-DTERMIO::(unknown)::-lsocket:EXPORT_VAR_AS_FN ${x86_gcc_des}
${x86_gcc_opts}:”,
diff -r openssl-0.9.7a.orig/config openssl-0.9.7a/config
253c253,260
echo “${MACHINE}-whatever-qnx”
case “$VERSION” in
4*)
echo “${MACHINE}-whatever-qnx4”
;;
*)
echo “${MACHINE}-whatever-qnx”
;;
esac
diff -r openssl-0.9.7a.orig/apps/apps.c openssl-0.9.7a/apps/apps.c
135c135,136
include <strings.h
/* # include <strings.h> */
#define strcasecmp _stricmp
diff -r openssl-0.9.7a.orig/apps/ca.c openssl-0.9.7a/apps/ca.c
85c85,86
include <strings.h
/# include <strings.h>/
#define strcasecmp _stricmp
diff -r openssl-0.9.7a.orig/crypto/bn/bn.h openssl-0.9.7a/crypto/bn/bn.h
161c161,167
#define BN_MASK (0xffffffffffffffffLL)
#ifdef WATCOMC
#pragma disable_message ( 106 ) ;
#endif
#define BN_MASK :Be patient - it is “not used anywhere”:
(0xffffffffffffffffLL)
#ifdef WATCOMC
#pragma enable_message ( 106 ) ;
#endif