fixed compile error if --enable-p2p is set
This commit is contained in:
@@ -425,7 +425,7 @@ static peer_cfg_t *build_peer_cfg(private_stroke_config_t *this,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* no peer ID supplied, assume right ID */
|
/* no peer ID supplied, assume right ID */
|
||||||
peer_id = other_id->clone(other_id);
|
peer_id = other->clone(other);
|
||||||
}
|
}
|
||||||
#endif /* P2P */
|
#endif /* P2P */
|
||||||
|
|
||||||
|
|||||||
@@ -204,7 +204,7 @@ static enumerator_t* create_cert_enumerator(private_stroke_cred_t *this,
|
|||||||
{
|
{
|
||||||
if (trusted)
|
if (trusted)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
data = malloc_thing(id_data_t);
|
data = malloc_thing(id_data_t);
|
||||||
|
|||||||
Reference in New Issue
Block a user