projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f59ab10
)
crypto: Don't ignore verify encoding argument
author
isaacs
<i@izs.me>
Fri, 17 May 2013 20:55:29 +0000
(13:55 -0700)
committer
isaacs
<i@izs.me>
Fri, 17 May 2013 20:55:29 +0000
(13:55 -0700)
src/node_crypto.cc
patch
|
blob
|
history
diff --git
a/src/node_crypto.cc
b/src/node_crypto.cc
index
774550c
..
d591510
100644
(file)
--- 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;