Permalink
Browse files

This comment was basically a TODO. Make it more sensible.

  • Loading branch information...
1 parent fd88646 commit b25975bb820e45881181f74cdea760e05b69d405 Dan Bornstein committed Mar 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ursaNative.cc
View
2 src/ursaNative.cc
@@ -806,7 +806,7 @@ Handle<Value> RsaWrap::Verify(const Arguments& args) {
int ret = RSA_verify(nid, (unsigned char *) data, dataLength,
(unsigned char *) sig, sigLength, obj->rsa);
if (ret == 0) {
- // Something about ERR_REASON(RSA_R_BAD_SIGNATURE).
+ // Something went wrong; investigate!
unsigned long err = ERR_peek_error();
int lib = ERR_GET_LIB(err);
int reason = ERR_GET_REASON(err);

0 comments on commit b25975b

Please sign in to comment.