mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-21 21:25:50 +00:00
In an earlier version of the API, the _init function was responsible
for allocating the context structure. This is no longer the case, but the _init function type was not updated to reflect this.
This commit is contained in:
parent
593125c353
commit
efd34d4cc7
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
|||
#define digest_final cryb_digest_final
|
||||
#define digest_complete cryb_digest_complete
|
||||
|
||||
typedef void *(*digest_init_func)(void);
|
||||
typedef void (*digest_init_func)(void *);
|
||||
typedef void (*digest_update_func)(void *, const void *, size_t);
|
||||
typedef void (*digest_final_func)(void *, void *);
|
||||
typedef int (*digest_complete_func)(const void *, size_t, void *);
|
||||
|
|
Loading…
Reference in a new issue