Merge pull request #320 from AMDmi3/warning-fix

Don't return NULL as bool, fixes warning
This commit is contained in:
miguelfreitas 2015-03-08 11:26:18 -03:00
commit 7afa7dbf05

View File

@ -596,7 +596,7 @@ public:
#ifdef DEBUG_ECIES #ifdef DEBUG_ECIES
printf("The authentication code was invalid! The ciphered data has been corrupted!\n"); printf("The authentication code was invalid! The ciphered data has been corrupted!\n");
#endif #endif
return NULL; return false;
} }
// Create a buffer to hold the result. // Create a buffer to hold the result.