[BUG + PATCH] Wrong data in IMAPS certificate dialog



In the certificate data displayed by balsa when connecting to an IMAPS 
server, the begining and end of the validity period are (wrongly) the 
same. This is caused by calling asn1time_to_string() (from libmutt, which 
returns a pointer to a static char array) in g_strdup_printf() twice. The 
small patch below (against today's cvs) fixes this.

Cheers, Albrecht.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
        Phone (+49) 228 6199571  -  mailto:albrecht.dress@arcor.de
_________________________________________________________________________

balsa-certificate.diff.gz

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]