remove spaces before tabs at the beginning of lines (^( )+\t)
This commit is contained in:
@@ -1341,15 +1341,15 @@ static status_t peer_process_notification(private_eap_aka_t *this,
|
||||
DBG1(DBG_IKE, "received AKA notification 'general "
|
||||
"failure' (%d)", code);
|
||||
return FAILED;
|
||||
case 32768:
|
||||
case 32768:
|
||||
DBG1(DBG_IKE, "received AKA notification 'successfully "
|
||||
"authenticated' (%d)", code);
|
||||
continue;
|
||||
case 1026:
|
||||
case 1026:
|
||||
DBG1(DBG_IKE, "received AKA notification 'access "
|
||||
"temporarily denied' (%d)", code);
|
||||
return FAILED;
|
||||
case 1031:
|
||||
case 1031:
|
||||
DBG1(DBG_IKE, "received AKA notification 'not "
|
||||
"subscribed to service' (%d)", code);
|
||||
return FAILED;
|
||||
|
||||
@@ -1107,7 +1107,7 @@ eap_sim_t *eap_sim_create_generic(eap_role_t role, identification_t *server,
|
||||
}
|
||||
rng->allocate_bytes(rng, NONCE_LEN, &this->nonce);
|
||||
rng->destroy(rng);
|
||||
break;
|
||||
break;
|
||||
default:
|
||||
free(this);
|
||||
return NULL;
|
||||
|
||||
@@ -33,8 +33,8 @@ struct private_eap_sim_file_card_t {
|
||||
identification_t *imsi;
|
||||
|
||||
/**
|
||||
* source of triplets
|
||||
*/
|
||||
* source of triplets
|
||||
*/
|
||||
eap_sim_file_triplets_t *triplets;
|
||||
};
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@ struct private_eap_sim_file_provider_t {
|
||||
eap_sim_file_provider_t public;
|
||||
|
||||
/**
|
||||
* source of triplets
|
||||
*/
|
||||
* source of triplets
|
||||
*/
|
||||
eap_sim_file_triplets_t *triplets;
|
||||
};
|
||||
|
||||
|
||||
@@ -846,8 +846,8 @@ static void host2ext(host_t *host, struct sadb_address *ext)
|
||||
{
|
||||
sockaddr_t *host_addr = host->get_sockaddr(host);
|
||||
socklen_t *len = host->get_sockaddr_len(host);
|
||||
memcpy((char*)(ext + 1), host_addr, *len);
|
||||
ext->sadb_address_len = PFKEY_LEN(sizeof(*ext) + *len);
|
||||
memcpy((char*)(ext + 1), host_addr, *len);
|
||||
ext->sadb_address_len = PFKEY_LEN(sizeof(*ext) + *len);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -872,7 +872,7 @@ static void add_anyaddr_ext(struct sadb_msg *msg, int family, u_int8_t type)
|
||||
addr->sadb_address_exttype = type;
|
||||
sockaddr_t *saddr = (sockaddr_t*)(addr + 1);
|
||||
saddr->sa_family = family;
|
||||
addr->sadb_address_len = PFKEY_LEN(sizeof(*addr) + len);
|
||||
addr->sadb_address_len = PFKEY_LEN(sizeof(*addr) + len);
|
||||
PFKEY_EXT_ADD(msg, addr);
|
||||
}
|
||||
|
||||
|
||||
@@ -943,8 +943,8 @@ static status_t add_sa(private_kernel_netlink_ipsec_t *this,
|
||||
{
|
||||
lifetime_cfg_t lft = {{0,0,0},{0,0,0},{0,0,0}};
|
||||
add_sa(this, src, dst, htonl(ntohs(cpi)), IPPROTO_COMP, reqid, &lft,
|
||||
ENCR_UNDEFINED, chunk_empty, AUTH_UNDEFINED, chunk_empty,
|
||||
mode, ipcomp, 0, FALSE, inbound);
|
||||
ENCR_UNDEFINED, chunk_empty, AUTH_UNDEFINED, chunk_empty,
|
||||
mode, ipcomp, 0, FALSE, inbound);
|
||||
ipcomp = IPCOMP_NONE;
|
||||
}
|
||||
|
||||
|
||||
@@ -50,8 +50,8 @@ struct private_load_tester_config_t {
|
||||
char *pool;
|
||||
|
||||
/**
|
||||
* IKE proposal
|
||||
*/
|
||||
* IKE proposal
|
||||
*/
|
||||
proposal_t *proposal;
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,9 +36,9 @@ struct private_nm_creds_t {
|
||||
certificate_t *cert;
|
||||
|
||||
/**
|
||||
* User name
|
||||
*/
|
||||
identification_t *user;
|
||||
* User name
|
||||
*/
|
||||
identification_t *user;
|
||||
|
||||
/**
|
||||
* User password
|
||||
|
||||
Reference in New Issue
Block a user