X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/secnet/blobdiff_plain/828a43d1120fb5523769aac14230d2da71da869b..babd74ec57f6b3a6f6709d10ec725532deb3ed66:/secnet.h diff --git a/secnet.h b/secnet.h index 9cc2205..b60972f 100644 --- a/secnet.h +++ b/secnet.h @@ -438,7 +438,7 @@ struct dh_if { /* HASH interface */ typedef void *hash_init_fn(void); -typedef void hash_update_fn(void *st, uint8_t const *buf, int32_t len); +typedef void hash_update_fn(void *st, const void *buf, int32_t len); typedef void hash_final_fn(void *st, uint8_t *digest); struct hash_if { int32_t len; /* Hash output length in bytes */