diff -p -up msmtp-1.4.20/src/tls.c.stack msmtp-1.4.20/src/tls.c --- msmtp-1.4.20/src/tls.c.stack 2010-02-06 15:24:02.000000000 -0200 +++ msmtp-1.4.20/src/tls.c 2010-04-05 16:48:32.000000000 -0300 @@ -888,7 +888,7 @@ int tls_check_cert(tls_t *tls, const cha char *buf; int length; /* needed to get the DNS subjectAltNames: */ - STACK *subj_alt_names; + STACK_OF(GENERAL_NAME) *subj_alt_names; int subj_alt_names_count; GENERAL_NAME *subj_alt_name; /* did we find a name matching hostname? */