Skip to content

Loading…

fixed decypher bug #59

Merged
merged 1 commit into from

2 participants

@jdc0589

Fixed a bug with the lib/security.js module, which was bombing out as of node v0.10.0. All middleware tests pass again.

@nrstott nrstott merged commit b602ebd into nrstott:master

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 17, 2013
  1. @jdc0589
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/security.js
View
4 lib/security.js
@@ -22,6 +22,6 @@ exports.decrypt = function(valueToDecrypt) {
var str = cipher.update(valueToDecrypt, 'hex', 'utf8');
- str += cipher.final('hex') || '';
+ str += cipher.final('utf8') || '';
return str;
-}
+}
Something went wrong with that request. Please try again.