Fix build error due to mismatched function declarations.

This commit is contained in:
Michael R Sweet 2023-03-20 08:19:31 -04:00
parent 8d8225f4a1
commit e138232a93
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244
3 changed files with 9 additions and 3 deletions

View File

@ -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)
------------------------- -------------------------

View File

@ -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

View File

@ -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);
} }