Skip to content

Commit

Permalink
crap. remove hard links to fireftp, make imports relative so that
Browse files Browse the repository at this point in the history
firessh works too
  • Loading branch information
mimecuvalo committed Feb 9, 2012
1 parent cf84d95 commit 01f971a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion rsakey.js
Expand Up @@ -75,7 +75,7 @@ paramikojs.RSAKey.prototype = {
var digest = new crypto.hash.SHA(data).digest();
var pkcs1imified = this._pkcs1imify(digest);

var worker = new Worker('chrome://fireftp/content/js/connection/paramikojs/sign_ssh_data_worker.js');
var worker = new Worker('./js/connection/paramikojs/sign_ssh_data_worker.js');
worker.onmessage = function(event) {
var m = new paramikojs.Message();
m.add_string('ssh-rsa');
Expand Down
12 changes: 6 additions & 6 deletions sign_ssh_data_worker.js
@@ -1,9 +1,9 @@
importScripts('chrome://fireftp/content/js/connection/paramikojs/crypto/crypto.js',
'chrome://fireftp/content/js/connection/paramikojs/crypto/PublicKey/RSA.js',
'chrome://fireftp/content/js/connection/paramikojs/common.js',
'chrome://fireftp/content/js/connection/paramikojs/python_shim.js',
'chrome://fireftp/content/js/connection/paramikojs/BigInteger.js',
'chrome://fireftp/content/js/connection/paramikojs/util.js');
importScripts('crypto/crypto.js',
'crypto/PublicKey/RSA.js',
'common.js',
'python_shim.js',
'BigInteger.js',
'util.js');

onmessage = function(event) {
var rsa = new crypto.publicKey.RSA().construct(new BigInteger(event.data.n, 10),
Expand Down

0 comments on commit 01f971a

Please sign in to comment.