diff --git a/src/crypto.cpp b/src/crypto.cpp index 546c0ab..1f704d2 100644 --- a/src/crypto.cpp +++ b/src/crypto.cpp @@ -422,7 +422,7 @@ SNAP *SessionKeys::tkip_decrypt_unicast(const Dot11Data &dot11, RawPDU &raw) con return new SNAP(&pload[0], pload.size() - 20); } -SNAP *SessionKeys::SessionKeys::decrypt_unicast(const Dot11Data &dot11, RawPDU &raw) const { +SNAP *SessionKeys::decrypt_unicast(const Dot11Data &dot11, RawPDU &raw) const { return is_ccmp ? ccmp_decrypt_unicast(dot11, raw) : tkip_decrypt_unicast(dot11, raw); @@ -546,4 +546,4 @@ bool WPA2Decrypter::decrypt(PDU &pdu) { } // namespace Crypto } // namespace Tins -#endif // HAVE_DOT11 \ No newline at end of file +#endif // HAVE_DOT11