Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1712211 Strict prototype error when trying to compile nss code th…
…at includes blapi.h

in blapi.h, strict prototypes compiles fail on:
extern BLAKE2BContext *BLAKE2B_NewContext();

This patch fixes that problem.

Differential Revision: https://phabricator.services.mozilla.com/D115659
  • Loading branch information
rjrelyea committed May 20, 2021
1 parent 595deb8 commit 7f33d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/freebl/blapi.h
Expand Up @@ -1521,7 +1521,7 @@ extern SECStatus BLAKE2B_MAC_HashBuf(unsigned char *output,
/*
** Create a new Blake2b context
*/
extern BLAKE2BContext *BLAKE2B_NewContext();
extern BLAKE2BContext *BLAKE2B_NewContext(void);

/*
** Destroy a Blake2b secure hash context.
Expand Down

0 comments on commit 7f33d09

Please sign in to comment.