mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 03:25:05 -05:00
Fix possible nullpointer in Preferences
This commit is contained in:
parent
880aea53c9
commit
8f37b22adb
@ -215,6 +215,9 @@ public class Preferences {
|
||||
ListIterator<String> it = servers.listIterator();
|
||||
while (it.hasNext()) {
|
||||
String server = it.next();
|
||||
if (server == null) {
|
||||
continue;
|
||||
}
|
||||
if (server.equals("pool.sks-keyservers.net")) {
|
||||
// use HKPS!
|
||||
it.set("hkps://hkps.pool.sks-keyservers.net");
|
||||
|
Loading…
Reference in New Issue
Block a user