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:
Dag-Erling Smørgrav 2014-07-10 15:37:40 +00:00 committed by des
parent 593125c353
commit efd34d4cc7

View file

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