diff options
Diffstat (limited to 'ext/digest/sha1/sha1.h')
-rw-r--r-- | ext/digest/sha1/sha1.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/digest/sha1/sha1.h b/ext/digest/sha1/sha1.h index 55997e73dd..6f1c388cf2 100644 --- a/ext/digest/sha1/sha1.h +++ b/ext/digest/sha1/sha1.h @@ -28,9 +28,9 @@ typedef struct { #endif void SHA1_Transform _((uint32_t state[5], const uint8_t buffer[64])); -void SHA1_Init _((SHA1_CTX *context)); +int SHA1_Init _((SHA1_CTX *context)); void SHA1_Update _((SHA1_CTX *context, const uint8_t *data, size_t len)); -void SHA1_Finish _((SHA1_CTX *context, uint8_t digest[20])); +int SHA1_Finish _((SHA1_CTX *context, uint8_t digest[20])); #define SHA1_BLOCK_LENGTH 64 #define SHA1_DIGEST_LENGTH 20 |