diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2015-12-12 17:16:57 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2015-12-12 17:16:57 +0000 |
commit | 63f2a531200dc4803a1caf38adfcfa143d0601b9 (patch) | |
tree | 49a8da56b7fc1402966a5b7bc4ff8d4d074ef0c7 /usr.sbin/smtpd/mta_session.c | |
parent | af1a86cc50219e7aa1749890716a412204c3ca23 (diff) |
allow overriding the default cipher-suite
ok jung@, sunil@, millert@
Diffstat (limited to 'usr.sbin/smtpd/mta_session.c')
-rw-r--r-- | usr.sbin/smtpd/mta_session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/mta_session.c b/usr.sbin/smtpd/mta_session.c index dcf2ec7d2aa..7856f0b4298 100644 --- a/usr.sbin/smtpd/mta_session.c +++ b/usr.sbin/smtpd/mta_session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta_session.c,v 1.80 2015/12/12 08:43:42 gilles Exp $ */ +/* $OpenBSD: mta_session.c,v 1.81 2015/12/12 17:16:56 gilles Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -326,7 +326,7 @@ mta_session_imsg(struct mproc *p, struct imsg *imsg) return; } else { - ssl = ssl_mta_init(NULL, NULL, 0); + ssl = ssl_mta_init(NULL, NULL, 0, env->sc_tls_ciphers); if (ssl == NULL) fatal("mta: ssl_mta_init"); io_start_tls(&s->io, ssl); @@ -342,7 +342,7 @@ mta_session_imsg(struct mproc *p, struct imsg *imsg) else pkiname = s->helo; ssl = ssl_mta_init(pkiname, - resp_ca_cert->cert, resp_ca_cert->cert_len); + resp_ca_cert->cert, resp_ca_cert->cert_len, env->sc_tls_ciphers); if (ssl == NULL) fatal("mta: ssl_mta_init"); io_start_tls(&s->io, ssl); |