summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-08-04 00:44:51 -0600
committerEduardo Chappa <chappa@washington.edu>2015-08-04 00:44:51 -0600
commita18a66185d66f414232dddd2ad270639cb39e8a2 (patch)
tree13a2e8838996c43ec82cbbaf6027611d0e2588cc
parent599ad097972652603836f39b414075cf625121a8 (diff)
downloadalpine-a18a66185d66f414232dddd2ad270639cb39e8a2.tar.xz
* Fix a bug in the S/MIME certificate management screen where
not all the information on a certificate might be printed on the screen. The bug was introduced when warnings from clang were cleared.
-rw-r--r--alpine/smime.c3
-rw-r--r--pith/pine.hlp2
2 files changed, 2 insertions, 3 deletions
diff --git a/alpine/smime.c b/alpine/smime.c
index 8949487e..7420ad60 100644
--- a/alpine/smime.c
+++ b/alpine/smime.c
@@ -1331,8 +1331,7 @@ smime_setup_size(char **s, size_t buflen, size_t n)
*t++ = ' ';
*t++ = '%';
*t++ = '-';
- snprintf(t+strlen(t), buflen-3, "%zu.%zu", n, n);
- t[strlen(t)-1] = '\0';
+ snprintf(t, buflen-3, "%zu.%zu", n, n);
t += strlen(t);
*t++ = 's';
*t++ = ' ';
diff --git a/pith/pine.hlp b/pith/pine.hlp
index f7756759..4bfd173b 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 86 2015-07-30 22:35:13
+Alpine Commit 87 2015-08-04 00:44:43
============= h_news =================
<HTML>
<HEAD>