Index: mutt-1.5.20/mutt_ssl.c =================================================================== --- mutt-1.5.20.orig/mutt_ssl.c +++ mutt-1.5.20/mutt_ssl.c @@ -652,7 +652,7 @@ static int check_host (X509 *x509cert, c char *buf = NULL; int bufsize; /* 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? */