summaryrefslogtreecommitdiff
path: root/alpine/smime.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-12-14 19:11:35 -0700
committerEduardo Chappa <chappa@washington.edu>2015-12-14 19:11:35 -0700
commitfe6139e073a2810420a8f6f869171a262929022d (patch)
tree37960c85dfc2d4a902a600d535c74effdb0ad36c /alpine/smime.c
parent29fbd1d5e424fadcf54a338aee8e57a9285fdf4b (diff)
downloadalpine-fe6139e073a2810420a8f6f869171a262929022d.tar.xz
* S/MIME: When reading a local certificate, Alpine converts the name of
the certificate to lowercase, which may make Alpine not be able to read such certificate. Reported by Dennis Davis.
Diffstat (limited to 'alpine/smime.c')
-rw-r--r--alpine/smime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine/smime.c b/alpine/smime.c
index 71104b2c..82adc145 100644
--- a/alpine/smime.c
+++ b/alpine/smime.c
@@ -1248,7 +1248,7 @@ manage_certs_tool(struct pine *ps, int cmd, CONF_S **cl, unsigned flags)
if(PATHCERTDIR(ctype) == NULL)
return 0;
- if((cert = get_cert_for((*cl)->d.s.address, ctype)) == NULL){
+ if((cert = get_cert_for((*cl)->d.s.address, ctype, 0)) == NULL){
q_status_message(SM_ORDER, 1, 3, _("Problem Reading Certificate"));
rv = 0;
}