Compiling freeRadius with latest OPENSSL

kavita jindal kavita.jindal at gmail.com
Wed Nov 22 12:18:35 CET 2017


Hi,

I am trying to compile Freeradius 3.0.x with  openSSL 1.1.0g . I am getting
following errors.

openssl version gives following output:

OpenSSL 1.1.0g  2 Nov 2017


/modules/rlm_eap/libeap/eapsimlib.c
CC src/modules/rlm_eap/libeap/fips186prf.c
CC src/modules/rlm_eap/libeap/comp128.c
CC src/modules/rlm_eap/libeap/eap_tls.c
In file included from src/modules/rlm_eap/libeap/eap_tls.c:46:0:
src/modules/rlm_eap/libeap/eap_tls.h:58:1: error: unknown type name
‘fr_tls_status_t’
 fr_tls_status_t eaptls_process(eap_handler_t *handler);
 ^
src/modules/rlm_eap/libeap/eap_tls.h:62:36: error: unknown type name
‘tls_session_t’
 int eaptls_request(EAP_DS *eap_ds, tls_session_t *ssn) CC_HINT(nonnull);
                                    ^
In file included from src/modules/rlm_eap/libeap/eap_tls.c:46:0:
src/modules/rlm_eap/libeap/eap_tls.h:66:45: error: unknown type name ‘SSL’
 void eaptls_gen_mppe_keys(REQUEST *request, SSL *s, char const *prf_label);
                                             ^
src/modules/rlm_eap/libeap/eap_tls.h:67:28: error: unknown type name ‘SSL’
 void eapttls_gen_challenge(SSL *s, uint8_t *buffer, size_t size);
                            ^
src/modules/rlm_eap/libeap/eap_tls.h:68:48: error: unknown type name ‘SSL’
 void eaptls_gen_eap_key(RADIUS_PACKET *packet, SSL *s, uint32_t header);
                                                ^
src/modules/rlm_eap/libeap/eap_tls.h:69:35: error: unknown type name ‘SSL’
 void   eap_fast_tls_gen_challenge(SSL *ssl, uint8_t *buffer, uint8_t
*scratch, size_t size, char const *prf_label) CC_HINT(nonnull);
                                   ^
src/modules/rlm_eap/libeap/eap_tls.h:103:1: error: unknown type name
‘tls_session_t’
 tls_session_t *eaptls_session(eap_handler_t *handler, fr_tls_server_conf_t
*tls_conf, bool client_cert);
 ^
src/modules/rlm_eap/libeap/eap_tls.h:103:55: error: unknown type name
‘fr_tls_server_conf_t’
 tls_session_t *eaptls_session(eap_handler_t *handler, fr_tls_server_conf_t
*tls_conf, bool client_cert);
                                                       ^
src/modules/rlm_eap/libeap/eap_tls.h:107:1: error: unknown type name
‘fr_tls_server_conf_t’
 fr_tls_server_conf_t *eaptls_conf_parse(CONF_SECTION *cs, char const *key);
 ^
src/modules/rlm_eap/libeap/eap_tls.c:64:1: error: unknown type name
‘tls_session_t’
 tls_session_t *eaptls_session(eap_handler_t *handler, fr_tls_server_conf_t
*tls_conf, bool client_cert)
 ^
src/modules/rlm_eap/libeap/eap_tls.c:64:55: error: unknown type name
‘fr_tls_server_conf_t’


If i compile with openssl 1.0.0f it works fine.
Is it possible to  compile freeradius with latest OPENSSL version. I  have
a requirement for using latest SSL.

Regard
Kavita


More information about the Freeradius-Users mailing list