"OpenSSL version" command shows empty line instead of version number

2 posts / 0 new
Last post
Axel
Axel's picture
"OpenSSL version" command shows empty line instead of version number

@Kong,

 

I installed 80+ Asus RT-N16 routers with DD-WRT v24-sp2 (10/27/11) kingkong (SVN revision 17670:17737M) at the end of 2011. The routers provide OpenVPN site to site tunnels.

Due to all the OpenSSL bugs that have surfaced during the last two months,  I'd like to know what openssl version was included in that build. I tried 'openssl version' via ssh but all I get is an empty line. Would it be possible to fix this "openssl version" command in future releases?

I'd also like to know what version of openssl is used by the openvpn client in build 17670:17737M. 

Thanks in advance,

Axel

Axel
Axel's picture
strings /usr/sbin/openvpn |

strings /usr/sbin/openvpn | grep -i libssl output is "libssl.so.0.9.8"

strings /usr/lib/libssl.so.0.9.8 | grep -i openssl output is
OPENSSL_cleanse
OPENSSL_DIR_read
OPENSSL_DIR_end
SSLv2 part of OpenSSL 0.9.8l 5 Nov 2009
SSLv3 part of OpenSSL 0.9.8l 5 Nov 2009
TLSv1 part of OpenSSL 0.9.8l 5 Nov 2009
DTLSv1 part of OpenSSL 0.9.8l 5 Nov 2009
OpenSSL 0.9.8l 5 Nov 2009
OPENSSL_DIR_read(&ctx, '
OPENSSL_malloc Error

So the version is 0.9.8l

Wouldn't it be easier to support the openssl version command?