mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-11 14:08:19 +02:00
sha1: Fix gcry_md_hd_t typo.
Fix build error.
CC libmesautil_la-sha1.lo
sha1.c: In function '_mesa_sha1_final':
sha1.c:210:22: error: 'grcy_md_hd_t' undeclared (first use in this function)
gcry_md_hd_t h = (grcy_md_hd_t) ctx;
^
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88519
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
parent
10a4f1e77a
commit
9075823c17
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ _mesa_sha1_update(struct mesa_sha1 *ctx, const void *data, int size)
|
|||
int
|
||||
_mesa_sha1_final(struct mesa_sha1 *ctx, unsigned char result[20])
|
||||
{
|
||||
gcry_md_hd_t h = (grcy_md_hd_t) ctx;
|
||||
gcry_md_hd_t h = (gcry_md_hd_t) ctx;
|
||||
|
||||
memcpy(result, gcry_md_read(h, GCRY_MD_SHA1), 20);
|
||||
gcry_md_close(h);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue