Skip to content

Commit

Permalink
Don't return NULL as bool
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Mar 7, 2015
1 parent 66394b0 commit a403124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ class CECKey {
#ifdef DEBUG_ECIES
printf("The authentication code was invalid! The ciphered data has been corrupted!\n");
#endif
return NULL;
return false;
}

// Create a buffer to hold the result.
Expand Down

0 comments on commit a403124

Please sign in to comment.