mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Declare "sha1_init" statically to avoid naming conflicts if linked statically with other libraries providing a method with the same name (e.g. OpenSSL).
This commit is contained in:
parent
0c9563bbd2
commit
d8b8542d59
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ sha1_step(struct sha1_ctxt *ctxt)
|
|||
|
||||
/*------------------------------------------------------------*/
|
||||
|
||||
void
|
||||
static void
|
||||
sha1_init(struct sha1_ctxt *ctxt)
|
||||
{
|
||||
bzero(ctxt, sizeof(struct sha1_ctxt));
|
||||
|
|
Loading…
Add table
Reference in a new issue