Avoid NullPointerException when closing input stream.
@@ -81,6 +81,7 @@ public abstract class PrivateKeyGuacamoleProperty implements GuacamoleProperty<P
throw new GuacamoleServerException("Key is not in expected PKCS8 encoding.", e);
}
finally {
+ if (keyStreamIn != null)
keyStreamIn.close();
}
}
