add support for WPA-EAP-TLS PMKIDs
@@ -1233,7 +1233,7 @@ uint8_t essidold[32];
essidchangecount = 0;
qsort(apstaessidliste, apstaessidcount, APSTAESSIDLIST_SIZE, sort_apstaessidlist_by_ap_essid);
-if(hcpmkidaoutname != NULL)
+if((apstaessidliste != NULL) && (hcpmkidaoutname != NULL))
{
if((fhoutlist = fopen(hcpmkidaoutname, "a+")) != NULL)
{
@@ -4507,7 +4507,7 @@ if(handshakeliste != NULL)
outputwpalists(pcapinname);
}
-if((apstaessidliste != NULL) && (pmkidliste != NULL))
+if(pmkidliste != NULL)
{
outputpmkidlists();
}
