Skip to content

Commit a403124

Browse files
committed
Don't return NULL as bool
1 parent 66394b0 commit a403124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/key.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ class CECKey {
596596
#ifdef DEBUG_ECIES
597597
printf("The authentication code was invalid! The ciphered data has been corrupted!\n");
598598
#endif
599-
return NULL;
599+
return false;
600600
}
601601

602602
// Create a buffer to hold the result.

0 commit comments

Comments
 (0)