aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-09-10 08:40:12 +0000
committerWerner Koch <[email protected]>2002-09-10 08:40:12 +0000
commitb324a5d2d14c33bdd4549b2e84f189d4ef0cabe6 (patch)
tree580a40b65f6957a56573812edf355f3c666aa38f /g10/misc.c
parentAdded prototype. (diff)
downloadgnupg-b324a5d2d14c33bdd4549b2e84f189d4ef0cabe6.tar.gz
gnupg-b324a5d2d14c33bdd4549b2e84f189d4ef0cabe6.zip
Cleanups and minor fixes.
Diffstat (limited to '')
-rw-r--r--g10/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/misc.c b/g10/misc.c
index b0e9543ab..f4728eb5d 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -436,7 +436,7 @@ pct_expando(const char *string,struct expando_args *args)
if(args->pk)
fingerprint_from_pk(args->pk,array,&len);
else
- memset(array,0,MAX_FINGERPRINT_LEN);
+ memset(array,0, (len=MAX_FINGERPRINT_LEN));
if(idx+(len*2)<maxlen)
{