Compiling without OpenSSL

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Jul 9 14:35:21 CEST 2013


On 9 Jul 2013, at 13:10, Rahul Godbole <rahulmg1983 at gmail.com> wrote:

> Hi
> 
> I cross compile Freeradius 2.1.9 for my embedded device. So far we have been compiling it with OpenSSL and everything works fine. However, I now want to compile it without OpenSSL. Can you tell me hat option I should pass to the configure script for this?

--without-openssl

Could we see all the configure arguments pretty please?

> 
> I tried using --with-openssl=no and --without-openssl. However, both do not seem to work because I see an error during config that these are unrecognised options.

Works for me with current 2.2.x HEAD

Check Make.inc

You should see:
OPENSSL_LIBS    =
OPENSSL_INCLUDE = -DNO_OPENSSL

> Also, I am trying to use CyaSSL ( cyassl.org ) instead of OpenSSL.

yassl.org

Cyassl is the name of the C library.

> Is there are ready config option for using CyaSSL.

No. The server has no explicit support for CyaSSL. They claim to have an OpenSSL compatibility layer, you should be able to use it by specifying:

  --with-openssl-includes=DIR      Directory to look for OpenSSL include files
  --with-openssl-libraries=DIR     Directory to look for OpenSSL library files

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team



More information about the Freeradius-Users mailing list