Fix types in frequency_score
This commit is contained in:
parent
cd7c584e6f
commit
a47bcc8f9e
4 changed files with 6 additions and 6 deletions
|
@ -31,7 +31,7 @@ int main(int argc, char *argv[]) {
|
|||
unsigned char buf[512] = {0};
|
||||
len = hex_to_bytes(buf, line);
|
||||
|
||||
unsigned char cur[512] = {'\0'};
|
||||
char cur[512] = {'\0'};
|
||||
for (char c = 32; c < 127; ++c) {
|
||||
for (size_t i = 0; i < len; ++i) {
|
||||
cur[i] = buf[i] ^ c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue