teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.5.90-digestlen.patch

Panu Matilainen ac1dca
diff --git a/rpmio/digest.c b/rpmio/digest.c
Panu Matilainen ac1dca
index c360919..64b678b 100644
Panu Matilainen ac1dca
--- a/rpmio/digest.c
Panu Matilainen ac1dca
+++ b/rpmio/digest.c
Panu Matilainen ac1dca
@@ -123,7 +123,7 @@ int
Panu Matilainen ac1dca
 rpmDigestFinal(DIGEST_CTX ctx, void ** datap, size_t *lenp, int asAscii)
Panu Matilainen ac1dca
 {
Panu Matilainen ac1dca
     unsigned char * digest;
Panu Matilainen ac1dca
-    size_t digestlen;
Panu Matilainen ac1dca
+    unsigned int digestlen;
Panu Matilainen ac1dca
 
Panu Matilainen ac1dca
     if (ctx == NULL)
Panu Matilainen ac1dca
 	return -1;