Don't do findProtocol twice on sig classification

Minor cleanup of rev 066c6e4c.
parent 0a58a748
......@@ -396,7 +396,7 @@ std::vector< std::shared_ptr<Task> > AutoDecryptVerifyFilesController::Private::
std::shared_ptr<VerifyDetachedTask> t(new VerifyDetachedTask);
t->setInput(Input::createFromFile(sig));
t->setSignedData(Input::createFromFile(cFile.fileName));
t->setProtocol(findProtocol(classification));
t->setProtocol(proto);
tasks.push_back(t);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment