fix optarg error

This commit is contained in:
iceman1001 2024-01-02 23:23:40 +01:00
commit fc54e61890

View file

@ -49,6 +49,7 @@
#include <inttypes.h> #include <inttypes.h>
#include <math.h> #include <math.h>
#include <pthread.h> #include <pthread.h>
#include <getopt.h>
#include "ht2crackutils.h" #include "ht2crackutils.h"
/* you could have more than 32 traces, but you shouldn't really need /* you could have more than 32 traces, but you shouldn't really need
@ -774,7 +775,7 @@ int main(int argc, char *argv[]) {
uint64_t revkey; uint64_t revkey;
uint64_t foundkey; uint64_t foundkey;
int tot_nRaR = 0; int tot_nRaR = 0;
char c; int c;
char *uidstr = NULL; char *uidstr = NULL;
char *noncefilestr = NULL; char *noncefilestr = NULL;