credmgr: don't use pointers for id_match_t enum values
This commit is contained in:
@@ -378,8 +378,8 @@ METHOD(credential_manager_t, get_shared, shared_key_t*,
|
|||||||
identification_t *me, identification_t *other)
|
identification_t *me, identification_t *other)
|
||||||
{
|
{
|
||||||
shared_key_t *current, *found = NULL;
|
shared_key_t *current, *found = NULL;
|
||||||
id_match_t *best_me = ID_MATCH_NONE, *best_other = ID_MATCH_NONE;
|
id_match_t best_me = ID_MATCH_NONE, best_other = ID_MATCH_NONE;
|
||||||
id_match_t *match_me, *match_other;
|
id_match_t match_me, match_other;
|
||||||
enumerator_t *enumerator;
|
enumerator_t *enumerator;
|
||||||
|
|
||||||
enumerator = create_shared_enumerator(this, type, me, other);
|
enumerator = create_shared_enumerator(this, type, me, other);
|
||||||
|
|||||||
Reference in New Issue
Block a user