From 1fb52f967889d83c23fdd8f3054f5776351ebe85 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 6 Sep 2015 21:23:53 -0600 Subject: Revert " * S/MIME: information on certificates is now available for certificates" This reverts commit bf714e42e10de6ff6bce677551c791397048caa5. --- pith/smkeys.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'pith/smkeys.c') diff --git a/pith/smkeys.c b/pith/smkeys.c index 7e992a53..bb77b030 100644 --- a/pith/smkeys.c +++ b/pith/smkeys.c @@ -1249,7 +1249,6 @@ void add_to_end_of_certlist(CertList **cl, char *name, X509 *cert) { CertList *new, *clp; - char buf[MAILTMPLEN]; if(!cl) return; @@ -1258,12 +1257,6 @@ add_to_end_of_certlist(CertList **cl, char *name, X509 *cert) memset((void *) new, 0, sizeof(*new)); new->x509_cert = cert; new->name = name ? cpystr(name) : NULL; - if(cert && cert->cert_info){ - new->data.date_from = smime_get_date(cert->cert_info->validity->notBefore); - new->data.date_to = smime_get_date(cert->cert_info->validity->notAfter); - get_fingerprint(cert, EVP_md5(), buf, sizeof(buf), NULL); - new->data.md5 = cpystr(buf); - } if(!*cl){ *cl = new; -- cgit v1.2.3-54-g00ecf