summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2015-01-16 16:21:41 -0800
committerVinson Lee <vlee@freedesktop.org>2015-01-16 16:25:39 -0800
commit9075823c17280d36ca2ba2e98ec93fb097801593 (patch)
tree2ee7470cb841949978e206c7207520e8de951277 /src
parent10a4f1e77aec66dfc1af4092ebd5be39383c3223 (diff)
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>
Diffstat (limited to 'src')
-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);