Kai Groner
98be8df571
crypto: Make Decipher._flush() emit errors.
When Decipher processes a stream using an incorrect key, the
DecipherFinal() method throws an unhandled exception at the end of the
stream.
12 years ago
Andreas Madsen
fed8cff1d0
crypto: fix constructor call in crypto streams
When using some stream method on a lazy crypto stream, the transform
constructor wasn't called. This caused the internal state object to
be undefined.
12 years ago
isaacs
76b0bdf720
crypto: Add crypto.DEFAULT_ENCODING (defaults to 'buffer')
This is a flag to make it easier for users to upgrade through the
breaking crypto change, and easier for us to switch it back if it's a
problem.
Explicitly set default encoding to 'buffer' in other tests, in case it
ever changes back.
12 years ago
Andreas Madsen
4865063924
Tests: fix jslint issues
13 years ago
Ingmar Runge
260383215b
node_crypto: use EVP_Cipher*_ex methods, not 'obsolete' versions
This also fixes an issue that made blowfish's ECB mode unusable.
13 years ago
Ryan Dahl
850609ea2d
Remove separation of libuv tests
13 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
13 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Oleg Efimov
093dfaf801
GJSLint all tests, only 3 long lines left in test-url.js
test/simple/test-url.js:31:(0110) Line too long (82 characters).
test/simple/test-url.js:39:(0110) Line too long (85 characters).
test/simple/test-url.js:40:(0110) Line too long (92 characters).
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Joshaven Potter
3d4e4d8909
syntax fixes to pass jslint
14 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
15 years ago
Peter Griess
2420f07e94
Allow process.setuid() and process.setgid() to accept string names in lieu of numeric IDs
15 years ago