Browse Source

crypto: Don't ignore verify encoding argument

v0.10.7-release
isaacs 12 years ago
parent
commit
199fa9f8dd
  1. 2
      src/node_crypto.cc

2
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;

Loading…
Cancel
Save