avutil/sha512: make const tables static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4ccafaca1c
commit
475df42eb6
@ -285,7 +285,7 @@ int main(void)
|
|||||||
int i, j, k;
|
int i, j, k;
|
||||||
AVSHA512 ctx;
|
AVSHA512 ctx;
|
||||||
unsigned char digest[64];
|
unsigned char digest[64];
|
||||||
const int lengths[4] = { 224, 256, 384, 512 };
|
static const int lengths[4] = { 224, 256, 384, 512 };
|
||||||
|
|
||||||
for (j = 0; j < 4; j++) {
|
for (j = 0; j < 4; j++) {
|
||||||
if (j < 2) printf("Testing SHA-512/%d\n", lengths[j]);
|
if (j < 2) printf("Testing SHA-512/%d\n", lengths[j]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user