Skip to content

Compare scramout with scramout1, not itself, in test_scramble for IL2P #576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/il2p_test.c
Original file line number Diff line number Diff line change
@@ -120,7 +120,7 @@ static void test_scramble(void)
unsigned char scramout[sizeof(scramin1)];

il2p_scramble_block (scramin1, scramout, sizeof(scramin1));
assert (memcmp(scramout, scramout, sizeof(scramout1)) == 0);
assert (memcmp(scramout, scramout1, sizeof(scramout1)) == 0);

} // end test_scramble.

@@ -974,4 +974,4 @@ alevel_t demod_get_audio_level (int chan, int subchan)
return (alevel);
}

// end il2p_test.c
// end il2p_test.c