Skip to content

Commit ce33500

Browse files
committed
Remove unnecessary semicolons
1 parent 88c3ace commit ce33500

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ function hmac(fn, key, data) {
2424

2525
var ipad = new Buffer(blocksize), opad = new Buffer(blocksize)
2626
for(var i = 0; i < blocksize; i++) {
27-
ipad[i] = key[i] ^ 0x36;
28-
opad[i] = key[i] ^ 0x5C;
27+
ipad[i] = key[i] ^ 0x36
28+
opad[i] = key[i] ^ 0x5C
2929
}
3030

3131
var hash = fn(Buffer.concat([ipad, data]))
@@ -67,10 +67,10 @@ exports.createHmac = function (alg, key) { return hash(alg, key) }
6767
exports.randomBytes = function(size, callback) {
6868
if (callback && callback.call) {
6969
try {
70-
callback.call(this, undefined, new Buffer(rng(size)));
71-
} catch (err) { callback(err); }
70+
callback.call(this, undefined, new Buffer(rng(size)))
71+
} catch (err) { callback(err) }
7272
} else {
73-
return new Buffer(rng(size));
73+
return new Buffer(rng(size))
7474
}
7575
}
7676

0 commit comments

Comments
 (0)