From 965359abcb72a89dbf0eb0522b90cb812fcd15a9 Mon Sep 17 00:00:00 2001 From: ak1 Date: Sat, 22 Jan 2005 13:07:43 +0000 Subject: [PATCH] Andreas Krennmair: removed pscan(1) warnings updated ChangeLog file git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@19 e385b8ad-14ed-0310-8656-cc95a2468c6d --- ChangeLog.mutt-ng | 4 ++++ mutt_ssl.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog.mutt-ng b/ChangeLog.mutt-ng index 4d29835..d6e325a 100644 --- a/ChangeLog.mutt-ng +++ b/ChangeLog.mutt-ng @@ -1,4 +1,8 @@ Changes specific to mutt-ng: +2004-01-22: + * Reverted the xface patch as it broke a lot of things + * Removed a few pscan(1) warnings + 2004-01-14: * Integrated the following patches: * rr.compressed for compressed folders diff --git a/mutt_ssl.c b/mutt_ssl.c index 1f847a4..ae059a4 100644 --- a/mutt_ssl.c +++ b/mutt_ssl.c @@ -403,7 +403,7 @@ static void x509_fingerprint (char *s, int l, X509 * cert) if (!X509_digest (cert, EVP_md5 (), md, &n)) { - snprintf (s, l, _("[unable to calculate]")); + snprintf (s, l, "%s", _("[unable to calculate]")); } else { @@ -598,7 +598,7 @@ static int ssl_check_certificate (sslsockdata * data) } row++; - snprintf (menu->dialog[row++], SHORT_STRING, _("This certificate is valid")); + snprintf (menu->dialog[row++], SHORT_STRING, "%s", _("This certificate is valid")); snprintf (menu->dialog[row++], SHORT_STRING, _(" from %s"), asn1time_to_string (X509_get_notBefore (data->cert))); snprintf (menu->dialog[row++], SHORT_STRING, _(" to %s"), -- 2.20.1