when configuring the daemon, assign values to the structure being conf-ed,
authorgilles <gilles@openbsd.org>
Tue, 30 Aug 2016 21:33:58 +0000 (21:33 +0000)
committergilles <gilles@openbsd.org>
Tue, 30 Aug 2016 21:33:58 +0000 (21:33 +0000)
not the global structure. this worked by accident.

ok eric@

usr.sbin/smtpd/parse.y

index 6d14f9a..3cce0c7 100644 (file)
@@ -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 <gilles@poolp.org>
@@ -958,7 +958,7 @@ main                : BOUNCEWARN {
                        }
                } ca
                | CIPHERS STRING {
-                       env->sc_tls_ciphers = $2;
+                       conf->sc_tls_ciphers = $2;
                }
                ;