--- a/libidav/crypto.h Fri May 30 18:21:16 2025 +0200 +++ b/libidav/crypto.h Fri May 30 18:31:32 2025 +0200 @@ -159,6 +159,7 @@ DAV_SHA_CTX* dav_sha256_create(void); void dav_sha256_update(DAV_SHA_CTX *ctx, const char *data, size_t len); void dav_sha256_final(DAV_SHA_CTX *ctx, unsigned char *buf); +void dav_sha256_final_free(DAV_SHA_CTX *ctx, unsigned char *buf); DavKey* dav_pw2key(const char *password, const unsigned char *salt, int saltlen, int pwfunc, int enc);