Fix OpenPGP importing (#1098)

+ Update openpgp.js lib
This commit is contained in:
RainLoop Team 2016-07-12 23:23:08 +03:00
parent 70f261d5f3
commit f64cf601ce
9 changed files with 10 additions and 20594 deletions

View file

@ -51,7 +51,7 @@ function AddOpenPgpKeyPopupView()
do
{
match = reg.exec(key);
if (match && 0 > count)
if (match && 0 < count)
{
if (match[0] && match[1] && match[2] && match[1] === match[2])
{
@ -66,12 +66,14 @@ function AddOpenPgpKeyPopupView()
}
count -= 1;
done = false;
}
else
{
done = true;
}
done = true;
}
while (done);
while (!done);
openpgpKeyring.store();