PASN: Fix pasn-resp fuzzing tester build

The recently added calls to src/ap/pmksa_cache_auth.c needs to be faked
to allow pasn-resp to be built without having to pull in multiple
additional files from src/ap.

Fixes: b7de417c8a ("PASN: Define PMKSA helper functions for initiator and responder")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2024-09-12 21:33:30 +03:00 committed by Jouni Malinen
parent c402848c50
commit 8e9cfbf602

View file

@ -41,6 +41,30 @@ pmksa_cache_auth_get(struct rsn_pmksa_cache *pmksa,
}
struct rsn_pmksa_cache *
pmksa_cache_auth_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry,
void *ctx), void *ctx)
{
return NULL;
}
void pmksa_cache_auth_deinit(struct rsn_pmksa_cache *pmksa)
{
}
void pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa,
struct rsn_pmksa_cache_entry *entry)
{
}
void pmksa_cache_auth_flush(struct rsn_pmksa_cache *pmksa)
{
}
static int pasn_send_mgmt(void *ctx, const u8 *data, size_t data_len,
int noack, unsigned int freq, unsigned int wait)
{