diff options
Diffstat (limited to 'g10/cipher.c')
-rw-r--r-- | g10/cipher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/cipher.c b/g10/cipher.c index 0c51100cc..45e1963f5 100644 --- a/g10/cipher.c +++ b/g10/cipher.c @@ -145,7 +145,7 @@ cipher_filter( void *opaque, int control, cipher_close(cfx->cipher_hd); } else if( control == IOBUFCTRL_DESC ) { - *(char**)buf = "cipher_filter"; + mem2str (buf, "cipher_filter", *ret_len); } return rc; } |