crypto: Don't ignore verify encoding argument

This commit is contained in:
isaacs committed 2013-05-17 13:55:29 -07:00
1 parent f59ab10a64
commit 199fa9f8dd
1 file changed
+1 -1
+1 -1
View File
@@ -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;