aboutsummaryrefslogtreecommitdiffstats
path: root/g10/encode.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/encode.c')
-rw-r--r--g10/encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/encode.c b/g10/encode.c
index a579c428d..93c70a70d 100644
--- a/g10/encode.c
+++ b/g10/encode.c
@@ -736,7 +736,7 @@ encrypt_filter( void *opaque, int control,
xfree(efx->symkey_s2k);
}
else if( control == IOBUFCTRL_DESC ) {
- *(char**)buf = "encrypt_filter";
+ mem2str (buf, "encrypt_filter", *ret_len);
}
return rc;
}