File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ sub check_source {
5555 push @{$troubles -> {unwanted_strcmp }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b strcmp\s *\( / ;
5656 push @{$troubles -> {unwanted_clock }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b clock\s *\( / ;
5757 push @{$troubles -> {unwanted_qsort }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b qsort\s *\( / ;
58+ push @{$troubles -> {sizeof_no_brackets }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b sizeof\s *[^\( ]/ ;
5859 if ($file =~ m | src/.*\. c$ | &&
5960 $file !~ m | src/ciphers/.*\. c$ | &&
6061 $file !~ m | src/hashes/.*\. c$ | &&
Original file line number Diff line number Diff line change @@ -1383,7 +1383,7 @@ static void cookey(const ulong32 *raw1, ulong32 *keyout)
13831383 * cook ++ |= (* raw1 & 0x0000003fL );
13841384 }
13851385
1386- XMEMCPY (keyout , dough , sizeof dough );
1386+ XMEMCPY (keyout , dough , sizeof ( dough ) );
13871387}
13881388
13891389#ifdef LTC_CLEAN_STACK
You can’t perform that action at this time.
0 commit comments