Permalink
Browse files

Use Libmacgpg's keyserver timeout.

No need to explicitly set the keyserver timout, because Libmacgpg already sets it.
  • Loading branch information...
Mento committed Jan 2, 2019
1 parent 0424ad8 commit f7abcc9043b0f99cb6f247b92647a41f89d82ca5
Showing with 0 additions and 2 deletions.
  1. +0 −1 Source/ActionController.m
  2. +0 −1 Source/PreferencesController.m
@@ -3100,7 +3100,6 @@ - (id)init {
// The printVersion is managed through gpg.conf via the emit-version and no-emit-version options. Do not override here.
//gpgc.printVersion = YES;
gpgc.async = YES;
gpgc.keyserverTimeout = 20;

showExpertSettings = [[GPGOptions sharedOptions] boolForKey:@"showExpertSettings"];
if (showExpertSettings) {
@@ -249,7 +249,6 @@ - (IBAction)checkKeyserver:(id)sender {
self.gpgc = [GPGController gpgController];
self.gpgc.keyserver = self.keyserverToCheck;
self.gpgc.delegate = self;
self.gpgc.keyserverTimeout = 10;
[spinner startAnimation:nil];
self.testingServer = YES;

1 comment on commit f7abcc9

Please sign in to comment.