commit | 22a0ce0cef2cd73fb0c0ab18d9728afd30165eb2 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jul 08 11:16:44 2014 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jul 08 11:17:50 2014 +0200 |
tree | 5125b91b3e4ec3f498f8d76ee7fdc4ab15a5158b | |
parent | 8cb73200e1cecf579df622e00ee59e91ea163ef5 [diff] [blame] |
Fix warning on MinGW and MSVC12
diff --git a/library/ctr_drbg.c b/library/ctr_drbg.c index 9194d75..aec29b9 100644 --- a/library/ctr_drbg.c +++ b/library/ctr_drbg.c
@@ -448,7 +448,7 @@ { 0xa0, 0x54, 0x30, 0x3d, 0x8a, 0x7e, 0xa9, 0x88, 0x9d, 0x90, 0x3e, 0x07, 0x7c, 0x6f, 0x21, 0x8f }; -int test_offset; +static size_t test_offset; int ctr_drbg_self_test_entropy( void *data, unsigned char *buf, size_t len ) { unsigned char *p = data;