Skip to content

Commit

Permalink
CIL-655 - Remove unnecessary LOA port variable assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
terrencegf committed Feb 6, 2020
1 parent 360e342 commit 58b43e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Service/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -2472,9 +2472,6 @@ public static function generateP12()
return; // MISMATCHED PASSWORDS - NO FURTHER PROCESSING NEEDED!
}

// Set the port based on the Level of Assurance
$port = Util::getLOAPort();

$dn = Util::getSessionVar('dn');
if (strlen($dn) > 0) {
// Append extra info, such as 'skin', to be processed by MyProxy
Expand All @@ -2487,7 +2484,7 @@ public static function generateP12()
$dn,
'',
MYPROXY_HOST,
$port,
Util::getLOAPort(),
$lifetime,
'/var/www/config/hostcred.pem',
''
Expand Down

0 comments on commit 58b43e6

Please sign in to comment.