Skip to content

Commit

Permalink
NIFI-14199 Fixed Potential NPE in SslContextConfiguration
Browse files Browse the repository at this point in the history
- Handled null value for keystoreType or truststoreType

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #9704.
  • Loading branch information
exceptionfactory authored and pvillard31 committed Feb 8, 2025
1 parent 6cdc5b6 commit 6dee8df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ private boolean isReloadEnabled() {
}

private boolean isPemStoreType(final String storeTypePropertyName) {
final String storeType = properties.getProperty(storeTypePropertyName);
final String storeType = properties.getProperty(storeTypePropertyName, EMPTY);
return PEM_STORE_TYPE.contentEquals(storeType);
}
}

0 comments on commit 6dee8df

Please # to comment.