1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-30 04:42:15 -05:00

[review] remove TODOs

This commit is contained in:
Felix Hammerl 2014-06-26 14:32:45 +02:00
parent 99bccefdba
commit ded1e5f7ef

View File

@ -364,7 +364,6 @@ define(function(require) {
} }
function decryptSessionKey(regSessionKey) { function decryptSessionKey(regSessionKey) {
// TODO: fetch public key for service to verify response
self.lookupPublicKey(config.serverPrivateKeyId, function(err, serverPubkey) { self.lookupPublicKey(config.serverPrivateKeyId, function(err, serverPubkey) {
if (err) { if (err) {
callback(err); callback(err);
@ -453,7 +452,6 @@ define(function(require) {
}); });
function decryptSessionKey(authSessionKey) { function decryptSessionKey(authSessionKey) {
// TODO: fetch public key for service to verify response
self.lookupPublicKey(config.serverPrivateKeyId, function(err, serverPubkey) { self.lookupPublicKey(config.serverPrivateKeyId, function(err, serverPubkey) {
if (err) { if (err) {
callback(err); callback(err);