Skip to content

Commit

Permalink
added getModulusFromProtected method and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
debonair committed Apr 10, 2015
1 parent 0a5cb13 commit 51dc175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pem.js
Expand Up @@ -407,7 +407,7 @@ exports['General Tests'] = {
},
'Get modulus from a protected key': function(test) {
var certificate = fs.readFileSync('./test/fixtures/test.crt').toString();
var key = fs.readFileSync('./test/fixtures/test.key').toString();git
var key = fs.readFileSync('./test/fixtures/test.key').toString();

pem.getModulus(certificate, function(error, data) {
var certmodulus = (data && data.modulus || '').toString();
Expand Down

0 comments on commit 51dc175

Please sign in to comment.