diff options
author | isaacs <i@izs.me> | 2013-05-18 00:55:29 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-05-18 00:55:29 +0400 |
commit | 199fa9f8ddcb8be78673a93db8719819ab3a7deb (patch) | |
tree | cae831e400f3ec7a4a7ffd5fd7594a27d7997139 /src | |
parent | f59ab10a6415e7dce7a6c3b6e734c213298ec205 (diff) |
crypto: Don't ignore verify encoding argument
Diffstat (limited to 'src')
-rw-r--r-- | src/node_crypto.cc | 2 |
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; |