aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/sign.c b/g10/sign.c
index 80e6ce2e8..c50b6b4a7 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -1504,7 +1504,7 @@ clearsign_file (ctrl_t ctrl,
push_armor_filter (afx, out);
/* Prepare EXTRAHASH, so that it can be used for v5 signature. */
- extrahash = xtrymalloc (sizeof extrahash);
+ extrahash = xtrymalloc (sizeof *extrahash);
if (!extrahash)
{
rc = gpg_error_from_syserror ();