summarylogtreecommitdiffstats
path: root/nettle4-compat.patch
blob: 7af98c30af85a061a336dc588ffdb3060156b7f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/repos/PureSpice/src/rsa.c
+++ b/repos/PureSpice/src/rsa.c
@@ -62,7 +62,7 @@
 
   sha1_init(&ctx);
   sha1_update(&ctx, len, data);
-  sha1_digest(&ctx, SHA1_HASH_LEN, hash);
+  sha1_digest(&ctx, hash);
 }
 
 static void oaep_mask(uint8_t * dest, size_t dest_len,