Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-05-18 00:55:29 +0400
committerisaacs <i@izs.me>2013-05-18 00:55:29 +0400
commit199fa9f8ddcb8be78673a93db8719819ab3a7deb (patch)
treecae831e400f3ec7a4a7ffd5fd7594a27d7997139 /src
parentf59ab10a6415e7dce7a6c3b6e734c213298ec205 (diff)
crypto: Don't ignore verify encoding argument
Diffstat (limited to 'src')
-rw-r--r--src/node_crypto.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_crypto.cc b/src/node_crypto.cc
index 774550c9956..d5915101638 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<char*>(hbuf), hlen, args[1], BINARY);
+ reinterpret_cast<char*>(hbuf), hlen, args[1], encoding);
assert(hwritten == hlen);
int r;