mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-362: Avoid NullPointerException when closing input stream.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user