openssl-wrapper
Advanced tools
Comparing version 0.2.0 to 0.2.1
'use strict'; | ||
/*! | ||
@@ -76,3 +77,3 @@ * OpenSSL-wrapper.js | ||
openssl.on('exit', function(code) { | ||
openssl.on('close', function(code) { | ||
out = Buffer.concat(outResult, outLength); | ||
@@ -86,5 +87,3 @@ err = Buffer.concat(errResult, errLength).toString('utf8'); | ||
if(typeof callback === 'function') { | ||
setTimeout(function() { | ||
callback.apply(null, [err, out]); | ||
}, 50); | ||
callback.apply(null, [err, out]); | ||
} | ||
@@ -91,0 +90,0 @@ |
{ | ||
"name": "openssl-wrapper", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "OpenSSL wrapper", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,3 +28,3 @@ [node-openssl-wrapper](http://mgcrea.github.com/node-openssl-wrapper) [![Build Status](https://secure.travis-ci.org/mgcrea/node-openssl-wrapper.png?branch=master)](http://travis-ci.org/#!/mgcrea/node-openssl-wrapper) | ||
.then(function decryptEnvelopedData() { | ||
return opensslExec('cms.decrypt', envelopedData, {inform: 'DER', recip: __dirname + '/myCertificate.crt', inkey: __dirname + '/myCertificate.key'}) | ||
return openssl.qExec('cms.decrypt', envelopedData, {inform: 'DER', recip: __dirname + '/myCertificate.crt', inkey: __dirname + '/myCertificate.key'}) | ||
}) | ||
@@ -64,3 +64,3 @@ .then(function debugOutput(data) { | ||
Copyright (c) 2012 Olivier Louvignes | ||
Copyright (c) 2013 Olivier Louvignes | ||
@@ -67,0 +67,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6255
6
96