mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Static variable is now const.
This commit is contained in:
parent
788c4a8fa8
commit
d3ce131a78
1 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,8 @@ struct sha1_ctxt {
|
|||
#ifndef unsupported
|
||||
|
||||
/* constant table */
|
||||
static unsigned int _K[] = { 0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6 };
|
||||
static const unsigned int _K[] =
|
||||
{ 0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6 };
|
||||
#define K(t) _K[(t) / 20]
|
||||
|
||||
#define F0(b, c, d) (((b) & (c)) | ((~(b)) & (d)))
|
||||
|
|
Loading…
Add table
Reference in a new issue