[uClibc] using buildroot - strange OpenVPN/OpenSSL problem

Nedeljko Miljevic Nedeljko.Miljevic at miljevic.net
Fri Feb 11 14:55:54 UTC 2005


Hello,

I'm using the buildroot for ARM9 cross-compiled root fs. Compiles and 
installs fine on the target platform, after having OpenVPN bailing out 
when trying to ping through the tunnel I ran the OpenVPN's selftest:

openvpn --genkey --secret key
openvpn --test-crypto --secret key

and get back:

Fri Feb 11 15:50:07 2005 0[0]: OpenVPN 1.5.0 arm-linux [SSL] [LZO] 
[PTHREAD] built on Feb 11 2005
Fri Feb 11 15:50:07 2005 1[0]: PTHREAD support initialized
Fri Feb 11 15:50:07 2005 2[1]: OpenVPN 1.5.0 arm-linux [SSL] [LZO] 
[PTHREAD] built on Feb 11 2005
Fri Feb 11 15:50:07 2005 3[0]: Entering OpenVPN crypto self-test mode.
Fri Feb 11 15:50:07 2005 4[0]: TESTING ENCRYPT/DECRYPT of packet length=1
Fri Feb 11 15:50:07 2005 5[0]: Assertion failed at integer.h:95
Fri Feb 11 15:50:07 2005 6[0]: Exiting
Fri Feb 11 15:50:07 2005 7[1]: Entering OpenVPN crypto self-test mode.
Fri Feb 11 15:50:07 2005 8[1]: TESTING ENCRYPT/DECRYPT of packet length=1
Fri Feb 11 15:50:07 2005 9[1]: Assertion failed at integer.h:95
Fri Feb 11 15:50:07 2005 10[1]: Exiting


(when used w/o encryption OpenVPN runs just fine)

I have suspected an endianess problem with OpenSSL, but is correctly set 
in the Makefile.

Has anyone seen something like this before? Any suggestions?

Thanks

Nedeljko



More information about the uClibc mailing list