avutil/ripemd:make const tables static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0e98a13322
commit
64a3dbadee
@ -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]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user