mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-12-25 12:58:21 +01:00
Fix build error due to mismatched function declarations.
This commit is contained in:
parent
8d8225f4a1
commit
e138232a93
@ -2,6 +2,12 @@ Changes in PDFio
|
|||||||
================
|
================
|
||||||
|
|
||||||
|
|
||||||
|
v1.1.1 (Month DD, YYYY)
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
- Fixed a build issue.
|
||||||
|
|
||||||
|
|
||||||
v1.1.0 (February 6, 2023)
|
v1.1.0 (February 6, 2023)
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
|
2
Makefile
2
Makefile
@ -29,7 +29,7 @@ DSONAME =
|
|||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
LIBS = -lm -lz
|
LIBS = -lm -lz
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
VERSION = 1.1.0
|
VERSION = 1.1.1
|
||||||
prefix = /usr/local
|
prefix = /usr/local
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// SHA-256 functions for PDFio.
|
// SHA-256 functions for PDFio.
|
||||||
//
|
//
|
||||||
// Copyright © 2021 by Michael R Sweet.
|
// Copyright © 2021-2023 by Michael R Sweet.
|
||||||
// Copyright © 2011 IETF Trust and the persons identified as authors of the
|
// Copyright © 2011 IETF Trust and the persons identified as authors of the
|
||||||
// code. All rights reserved.
|
// code. All rights reserved.
|
||||||
//
|
//
|
||||||
@ -217,7 +217,7 @@ _pdfioCryptoSHA256Append(_pdfio_sha256_t *context, const uint8_t *message_array,
|
|||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
_pdfioCryptoSHA256Finish(_pdfio_sha256_t *context,
|
_pdfioCryptoSHA256Finish(_pdfio_sha256_t *context,
|
||||||
uint8_t Message_Digest[SHA256HashSize])
|
uint8_t *Message_Digest)
|
||||||
{
|
{
|
||||||
SHA224_256ResultN(context, Message_Digest, SHA256HashSize);
|
SHA224_256ResultN(context, Message_Digest, SHA256HashSize);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user