From ef889e00f32d36bb8648048fe2965f7394546f87 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sun, 3 Oct 2010 00:53:34 -0400 Subject: [PATCH] allow explicit setting of MSVA_KEYSERVER_POLICY to "unlessvalid" (the default) --- msva-perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msva-perl b/msva-perl index 1cc5181..8d1657c 100755 --- a/msva-perl +++ b/msva-perl @@ -361,7 +361,7 @@ use strict; sub get_keyserver_policy { if (exists $ENV{MSVA_KEYSERVER_POLICY}) { - if ($ENV{MSVA_KEYSERVER_POLICY} =~ /^(always|never)$/) { + if ($ENV{MSVA_KEYSERVER_POLICY} =~ /^(always|never|unlessvalid)$/) { return $1; } msvalog('error', "Not a valid MSVA_KEYSERVER_POLICY):\n %s\n", $ENV{MSVA_KEYSERVER_POLICY}); -- 2.26.2