EAP peer: Convert Boolean to C99 bool
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
c9d70dd329
commit
d15e109e29
26 changed files with 294 additions and 294 deletions
|
@ -62,12 +62,12 @@ static void * eap_tls_init(struct eap_sm *sm)
|
|||
wpa_printf(MSG_DEBUG, "EAP-TLS: Requesting Smartcard "
|
||||
"PIN");
|
||||
eap_sm_request_pin(sm);
|
||||
sm->ignore = TRUE;
|
||||
sm->ignore = true;
|
||||
} else if (cert->private_key && !cert->private_key_passwd) {
|
||||
wpa_printf(MSG_DEBUG, "EAP-TLS: Requesting private "
|
||||
"key passphrase");
|
||||
eap_sm_request_passphrase(sm);
|
||||
sm->ignore = TRUE;
|
||||
sm->ignore = true;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
@ -326,7 +326,7 @@ static struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv,
|
|||
}
|
||||
|
||||
|
||||
static Boolean eap_tls_has_reauth_data(struct eap_sm *sm, void *priv)
|
||||
static bool eap_tls_has_reauth_data(struct eap_sm *sm, void *priv)
|
||||
{
|
||||
struct eap_tls_data *data = priv;
|
||||
return tls_connection_established(data->ssl_ctx, data->ssl.conn);
|
||||
|
@ -364,7 +364,7 @@ static int eap_tls_get_status(struct eap_sm *sm, void *priv, char *buf,
|
|||
}
|
||||
|
||||
|
||||
static Boolean eap_tls_isKeyAvailable(struct eap_sm *sm, void *priv)
|
||||
static bool eap_tls_isKeyAvailable(struct eap_sm *sm, void *priv)
|
||||
{
|
||||
struct eap_tls_data *data = priv;
|
||||
return data->key_data != NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue