From c1cd811f0f144d63d490cabaf8954b754425206e Mon Sep 17 00:00:00 2001 From: Leigh B Stoller Date: Mon, 14 Mar 2016 15:43:49 -0600 Subject: [PATCH] Change geni_trustroots options to just trustroots, since that appears to be the convention for our locally grown options. --- protogeni/lib/GeniAM.pm.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protogeni/lib/GeniAM.pm.in b/protogeni/lib/GeniAM.pm.in index 6db393dab..c995b76c0 100755 --- a/protogeni/lib/GeniAM.pm.in +++ b/protogeni/lib/GeniAM.pm.in @@ -232,7 +232,7 @@ sub GetVersion() "geni_version" => $coder->string("3")} ]; } - if (defined($options) && exists($options->{'geni_trustroots'})) { + if (defined($options) && exists($options->{'trustroots'})) { my @roots = (); my @certs = GeniCertificate::SplitCertBundle("$TB/etc/genica.bundle"); foreach my $root (@certs) { @@ -248,7 +248,7 @@ sub GetVersion() "SubjAltNameURIs" => [$cert->urn()], }); } - $blob->{"geni_trustroots"} = \@roots; + $blob->{"trustroots"} = \@roots; } my $response = GeniResponse->Create(GENIRESPONSE_SUCCESS, $blob); if ($API_VERSION > 1) { -- GitLab