summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Relyea <rrelyea@redhat.com>2021-05-20 15:07:03 -0700
committerRobert Relyea <rrelyea@redhat.com>2021-05-20 15:07:03 -0700
commit0174f9e74982b0ed84ebf6d04557052daaf03f44 (patch)
tree3cc7575052f5193b278be6b067f4c04dfa3d490c
parentfa7f2a3cefd191cc9fb55ddfc8c904e69c907a80 (diff)
downloadnss-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.h2
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.