} EAPTLS_PACKET;
-/* configured values goes right here */
-typedef struct eap_tls_conf {
- char *private_key_password;
- char *private_key_file;
- char *certificate_file;
- char *random_file;
- char *ca_path;
- char *ca_file;
- char *dh_file;
- char *rsa_file;
- int rsa_key;
- int dh_key;
- int rsa_key_length;
- int dh_key_length;
- int verify_depth;
- int file_type;
- int include_length;
-
- /*
- * Always < 4096 (due to radius limit), 0 by default = 2048
- */
- int fragment_size;
- int check_crl;
- char *check_cert_cn;
- char *cipher_list;
-} EAP_TLS_CONF;
-
-
-/* This structure gets stored in arg */
-typedef struct _eap_tls_t {
- EAP_TLS_CONF *conf;
- SSL_CTX *ctx;
-} eap_tls_t;
-
-
/* EAP-TLS framework */
EAPTLS_PACKET *eaptls_alloc(void);
void eaptls_free(EAPTLS_PACKET **eaptls_packet_ptr);
*/
#include <freeradius-devel/autoconf.h>
-#include "eap_tls.h"
#ifdef HAVE_OPENSSL_RAND_H
#include <openssl/rand.h>
#endif
+#include "rlm_eap_tls.h"
+
static CONF_PARSER module_config[] = {
{ "rsa_key_exchange", PW_TYPE_BOOLEAN,
offsetof(EAP_TLS_CONF, rsa_key), NULL, "no" },
#include "eap_tls.h"
+#include <freeradius-devel/radiusd.h>
+#include <freeradius-devel/modules.h>
+
+/* configured values goes right here */
+typedef struct eap_tls_conf {
+ char *private_key_password;
+ char *private_key_file;
+ char *certificate_file;
+ char *random_file;
+ char *ca_path;
+ char *ca_file;
+ char *dh_file;
+ char *rsa_file;
+ int rsa_key;
+ int dh_key;
+ int rsa_key_length;
+ int dh_key_length;
+ int verify_depth;
+ int file_type;
+ int include_length;
+
+ /*
+ * Always < 4096 (due to radius limit), 0 by default = 2048
+ */
+ int fragment_size;
+ int check_crl;
+ char *check_cert_cn;
+ char *cipher_list;
+} EAP_TLS_CONF;
+
+/* This structure gets stored in arg */
+typedef struct _eap_tls_t {
+ EAP_TLS_CONF *conf;
+ SSL_CTX *ctx;
+} eap_tls_t;
+
+
#endif /* _RLM_EAP_TLS_H */