summaryrefslogtreecommitdiffstats
path: root/qmail-remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'qmail-remote.c')
-rw-r--r--qmail-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmail-remote.c b/qmail-remote.c
index edfdb60..c2ab562 100644
--- a/qmail-remote.c
+++ b/qmail-remote.c
@@ -666,7 +666,7 @@ static int tls_init(struct ip_mx *current_mx)
666 { 666 {
667 const GENERAL_NAME *gn = sk_GENERAL_NAME_value(gens, i); 667 const GENERAL_NAME *gn = sk_GENERAL_NAME_value(gens, i);
668 if (gn->type == GEN_DNS) 668 if (gn->type == GEN_DNS)
669 if (match_mx_host(mx_host, gn->d.ia5->data, gn->d.ia5->length)) break; 669 if (match_mx_host(mx_host, ASN1_STRING_get0_data(gn->d.dNSName), ASN1_STRING_length(gn->d.dNSName))) break;
670 } 670 }
671 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free); 671 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free);
672 } 672 }