This commit is contained in:
2020-02-28 16:52:13 -05:00
parent 77641d45be
commit 0a00de38a5

View File

@@ -107,8 +107,8 @@ void run_corr_exp(struct pwned_device *dev, char *fname)
unsigned char key[16]; unsigned char key[16];
unsigned char key_sched[176]; unsigned char key_sched[176];
sprintf(fname, "KEY"); sprintf(dat_fname, "KEY");
outfile = fopen(fname, "w+"); outfile = fopen(dat_fname, "w+");
if(outfile == NULL) if(outfile == NULL)
{ {
printf("failed to open key file\n"); printf("failed to open key file\n");