artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e998cdb
)
use the mx hostname for sni on outgoing connection, not the reverse
author
eric
<eric@openbsd.org>
Sun, 7 Mar 2021 20:56:41 +0000
(20:56 +0000)
committer
eric
<eric@openbsd.org>
Sun, 7 Mar 2021 20:56:41 +0000
(20:56 +0000)
dns for the peer address.
spotted by krw@
ok krw@ tb@
usr.sbin/smtpd/mta_session.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/mta_session.c
b/usr.sbin/smtpd/mta_session.c
index
2445378
..
16f947d
100644
(file)
--- a/
usr.sbin/smtpd/mta_session.c
+++ b/
usr.sbin/smtpd/mta_session.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: mta_session.c,v 1.1
39 2021/03/05 12:37:32
eric Exp $ */
+/* $OpenBSD: mta_session.c,v 1.1
40 2021/03/07 20:56:41
eric Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@
-1596,7
+1596,7
@@
mta_tls_init(struct mta_session *s)
return;
}
- io_connect_tls(s->io, tls, s->
route->dst->ptr
name);
+ io_connect_tls(s->io, tls, s->
mx
name);
}
static void