From: isaacs Date: Fri, 17 May 2013 20:55:29 +0000 (-0700) Subject: crypto: Don't ignore verify encoding argument X-Git-Tag: v0.10.7~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=199fa9f8ddcb8be78673a93db8719819ab3a7deb;p=platform%2Fupstream%2Fnodejs.git crypto: Don't ignore verify encoding argument --- diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 774550c..d591510 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -3309,7 +3309,7 @@ class Verify : public ObjectWrap { unsigned char* hbuf = new unsigned char[hlen]; ssize_t hwritten = StringBytes::Write( - reinterpret_cast(hbuf), hlen, args[1], BINARY); + reinterpret_cast(hbuf), hlen, args[1], encoding); assert(hwritten == hlen); int r;