Skip to content
Snippets Groups Projects
Commit 64a3dbad authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avutil/ripemd:make const tables static const

parent 0e98a133
Branches
Tags
No related merge requests found
...@@ -388,7 +388,7 @@ int main(void) ...@@ -388,7 +388,7 @@ int main(void)
int i, j, k; int i, j, k;
AVRIPEMD ctx; AVRIPEMD ctx;
unsigned char digest[40]; unsigned char digest[40];
const int lengths[4] = { 128, 160, 256, 320 }; static const int lengths[4] = { 128, 160, 256, 320 };
for (j = 0; j < 4; j++) { for (j = 0; j < 4; j++) {
printf("Testing RIPEMD-%d\n", lengths[j]); printf("Testing RIPEMD-%d\n", lengths[j]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment