src: rename ASSERT macros in node_crypto.cc
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 20 Jan 2015 22:55:35 +0000 (23:55 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 20 Jan 2015 23:11:57 +0000 (00:11 +0100)
commit52f624e72a419d3fd7f7f8ccc2d22ebdb0ba4fff
treeb7f28887d59a6e516f9ac7a0e7ef55b4006113ac
parente95cfe14e343c5abed96a8d3cb9397c0c84abecc
src: rename ASSERT macros in node_crypto.cc

Rename the misnomers ASSERT_IS_STRING_OR_BUFFER and ASSERT_IS_BUFFER.
Said macros don't assert, they throw a TypeError and return.

PR-URL: https://github.com/iojs/io.js/pull/529
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
src/node_crypto.cc