From dfa4f4ab43703aa31e5931da54d9e5d572e995a6 Mon Sep 17 00:00:00 2001 From: gilles Date: Tue, 30 Aug 2016 21:33:58 +0000 Subject: [PATCH] when configuring the daemon, assign values to the structure being conf-ed, not the global structure. this worked by accident. ok eric@ --- usr.sbin/smtpd/parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/smtpd/parse.y b/usr.sbin/smtpd/parse.y index 6d14f9a2eae..3cce0c75054 100644 --- a/usr.sbin/smtpd/parse.y +++ b/usr.sbin/smtpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.186 2016/07/01 17:53:23 eric Exp $ */ +/* $OpenBSD: parse.y,v 1.187 2016/08/30 21:33:58 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -958,7 +958,7 @@ main : BOUNCEWARN { } } ca | CIPHERS STRING { - env->sc_tls_ciphers = $2; + conf->sc_tls_ciphers = $2; } ; -- 2.20.1