summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sha1.c b/src/util/sha1.c
index 658dc27fc19..27ba93bdf07 100644
--- a/src/util/sha1.c
+++ b/src/util/sha1.c
@@ -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);