diff options
author | Robert Relyea <rrelyea@redhat.com> | 2021-05-20 15:07:03 -0700 |
---|---|---|
committer | Robert Relyea <rrelyea@redhat.com> | 2021-05-20 15:07:03 -0700 |
commit | 0174f9e74982b0ed84ebf6d04557052daaf03f44 (patch) | |
tree | 3cc7575052f5193b278be6b067f4c04dfa3d490c | |
parent | fa7f2a3cefd191cc9fb55ddfc8c904e69c907a80 (diff) | |
download | nss-hg-0174f9e74982b0ed84ebf6d04557052daaf03f44.tar.gz |
Bug 1712211 Strict prototype error when trying to compile nss code that 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
-rw-r--r-- | lib/freebl/blapi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/freebl/blapi.h b/lib/freebl/blapi.h index 569bd461f..94fd80222 100644 --- a/lib/freebl/blapi.h +++ b/lib/freebl/blapi.h @@ -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. |