From 976784e43aabd65721f6754f60757d583f76549a Mon Sep 17 00:00:00 2001 From: damien Date: Thu, 14 Aug 2008 16:14:53 +0000 Subject: [PATCH] ieee80211_derive_pmkid() is not used either --- sys/net80211/ieee80211_crypto.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/net80211/ieee80211_crypto.c b/sys/net80211/ieee80211_crypto.c index 05cb8312fcd..7202564cec4 100644 --- a/sys/net80211/ieee80211_crypto.c +++ b/sys/net80211/ieee80211_crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_crypto.c,v 1.53 2008/08/14 16:10:01 damien Exp $ */ +/* $OpenBSD: ieee80211_crypto.c,v 1.54 2008/08/14 16:14:53 damien Exp $ */ /*- * Copyright (c) 2008 Damien Bergamini @@ -57,9 +57,9 @@ void ieee80211_prf(const u_int8_t *, size_t, const u_int8_t *, size_t, #ifdef notyet void ieee80211_kdf(const u_int8_t *, size_t, const u_int8_t *, size_t, const u_int8_t *, size_t, u_int8_t *, size_t); -#endif void ieee80211_derive_pmkid(const u_int8_t *, size_t, const u_int8_t *, const u_int8_t *, u_int8_t *); +#endif void ieee80211_crypto_attach(struct ifnet *ifp) @@ -395,6 +395,7 @@ ieee80211_derive_ptk(enum ieee80211_akm akm, const u_int8_t *pmk, /* * Derive Pairwise Master Key Identifier (PMKID) (see 8.5.1.2). */ +#ifdef notyet void ieee80211_derive_pmkid(const u_int8_t *pmk, size_t pmk_len, const u_int8_t *aa, const u_int8_t *spa, u_int8_t *pmkid) @@ -410,6 +411,7 @@ ieee80211_derive_pmkid(const u_int8_t *pmk, size_t pmk_len, const u_int8_t *aa, /* use the first 128 bits of the HMAC-SHA1 */ memcpy(pmkid, digest, IEEE80211_PMKID_LEN); } +#endif typedef union _ANY_CTX { HMAC_MD5_CTX md5; -- 2.20.1