aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/cipher.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/g10/cipher.c b/g10/cipher.c
index 26779892e..409d0adef 100644
--- a/g10/cipher.c
+++ b/g10/cipher.c
@@ -65,12 +65,8 @@ write_header (cipher_filter_context_t *cfx, iobuf_t a)
gcry_md_debug (cfx->mdc_hash, "creatmdc");
}
- {
- char buf[20];
-
- snprintf (buf, sizeof buf, "%d %d", ed.mdc_method, cfx->dek->algo);
- write_status_text (STATUS_BEGIN_ENCRYPTION, buf);
- }
+ write_status_printf (STATUS_BEGIN_ENCRYPTION, "%d %d",
+ ed.mdc_method, cfx->dek->algo);
init_packet (&pkt);
pkt.pkttype = cfx->dek->use_mdc? PKT_ENCRYPTED_MDC : PKT_ENCRYPTED;