diff options
Diffstat (limited to 'usr.sbin/smtpd/smtp_client.c')
-rw-r--r-- | usr.sbin/smtpd/smtp_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtp_client.c b/usr.sbin/smtpd/smtp_client.c index a6e70de5334..ac707a1210f 100644 --- a/usr.sbin/smtpd/smtp_client.c +++ b/usr.sbin/smtpd/smtp_client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtp_client.c,v 1.9 2019/05/14 12:08:54 eric Exp $ */ +/* $OpenBSD: smtp_client.c,v 1.10 2019/06/12 17:42:53 eric Exp $ */ /* * Copyright (c) 2018 Eric Faurot <eric@openbsd.org> @@ -619,7 +619,7 @@ smtp_client_io(struct io *io, int evt, void *arg) case IO_TLSREADY: proto->flags |= FLAG_TLS; io_pause(proto->io, IO_IN); - smtp_verify_server_cert(proto->tag, proto, io_ssl(proto->io)); + smtp_verify_server_cert(proto->tag, proto, io_tls(proto->io)); break; case IO_DATAIN: |