Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
taoliult committed Jan 15, 2024
1 parent eb4a572 commit b5e7208
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ private void initProviders() {
// Provider with argument (provider name + optional argument).
providers.add(pNum - 1, providerName);

// Remove the provider's optional arguments if present.
// Remove the provider's optional arguments there are.
pos = providerName.indexOf(' ');
if (pos >= 0) {
providerName = providerName.substring(0, pos);
Expand Down Expand Up @@ -967,7 +967,7 @@ boolean isRestrictedProviderAllowed(String providerName) {
debug.println("Checking the provider " + providerName + " in restricted security mode.");
}

// Remove argument, e.g. -NSS-FIPS, if present.
// Remove argument, e.g. -NSS-FIPS, if there is.
int pos = providerName.indexOf('-');
if (pos >= 0) {
providerName = providerName.substring(0, pos);
Expand Down

0 comments on commit b5e7208

Please sign in to comment.